merge-requests/400/head
haroon amjad 3 years ago
parent c3feed771c
commit 19e6954bc8

@ -126,6 +126,10 @@ class _DoctorProfileState extends State<DoctorProfile> with TickerProviderStateM
),
).then((value) {
setState(() {
if (_tabController.index == 0) {
_tabController.animateTo((_tabController.index + 1) % 2);
showFooterButton = true;
}
this.doctorSchedule = value;
});
});

@ -120,6 +120,10 @@ class _AppointmentDetailsState extends State<AppointmentDetails> with SingleTick
),
).then((value) {
setState(() {
if (_tabController.index == 0) {
_tabController.animateTo((_tabController.index + 1) % 2);
this.enableFooterButton();
}
widget.doctorSchedule = value;
});
});

Loading…
Cancel
Save