pop to home

This commit is contained in:
2024-09-17 16:45:20 +02:00
parent b5d8d92ccd
commit 7238c5b44f
3 changed files with 3 additions and 3 deletions

View File

@@ -221,7 +221,7 @@ class _PatientAccessRequestState extends State<PatientAccessRequest> {
icon: Icons.arrow_back,
iconSize: 35,
onTap: () {
Navigator.of(context).pushNamedAndRemoveUntil('/', (route) => false);
Navigator.of(context).pop();
},
);
}

View File

@@ -287,7 +287,7 @@ class _ManageBusinessProfileState extends State<ManageBusinessProfile> {
icon: Icons.arrow_back,
iconSize: 35,
onTap: () {
Navigator.of(context).pushNamedAndRemoveUntil('/', (route) => false);
Navigator.of(context).pop();
},
);
}

View File

@@ -109,7 +109,7 @@ class _PatientViewState extends State<PatientView> {
icon: Icons.arrow_back,
iconSize: 35,
onTap: () {
Navigator.of(context).pushNamedAndRemoveUntil('/', (route) => false);
Navigator.of(context).pop();
},
);
}