forked from eatvio/eatvio_app
feat(consultations): added new data to consultation model
This commit is contained in:
@@ -42,7 +42,9 @@ class ConsultationsContent extends StatelessWidget {
|
||||
),
|
||||
body: switch (state.state) {
|
||||
BaseState.loading => const Loader(),
|
||||
BaseState.error => DataErrorWidget(onReload: () async {}),
|
||||
BaseState.error => DataErrorWidget(onReload: () async {
|
||||
context.read<ConsultationsCubit>().loadConsultations();
|
||||
}),
|
||||
BaseState.initial => const Loader(),
|
||||
BaseState.success => ListView.separated(
|
||||
padding: const EdgeInsets.symmetric(vertical: 12),
|
||||
|
||||
Reference in New Issue
Block a user