Merge pull request #92 from yaso-meth/BUG--Back-Nav-Post-add-business-appointment

fix back nav post business appointment add
This commit is contained in:
yaso-meth
2025-03-05 10:46:19 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -263,7 +263,7 @@ class MihMzansiCalendarApis {
}), }),
); );
if (response.statusCode == 201) { if (response.statusCode == 201) {
Navigator.pop(context); // Navigator.pop(context);
Navigator.pop(context); Navigator.pop(context);
Navigator.pop(context); Navigator.pop(context);
Navigator.pop(context); Navigator.pop(context);

View File

@@ -241,6 +241,7 @@ class _WaitingRoomState extends State<WaitingRoom> {
height: 50, height: 50,
child: MIHButton( child: MIHButton(
onTap: () { onTap: () {
Navigator.pop(context);
addAppointmentWindow(); addAppointmentWindow();
}, },
buttonText: "Skeleton Appointment", buttonText: "Skeleton Appointment",