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
commit c1166f0e97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -263,7 +263,7 @@ class MihMzansiCalendarApis {
}),
);
if (response.statusCode == 201) {
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,
child: MIHButton(
onTap: () {
Navigator.pop(context);
addAppointmentWindow();
},
buttonText: "Skeleton Appointment",