update pat man nav

This commit is contained in:
2025-09-09 11:45:29 +02:00
parent b3845489d7
commit 1a474137fd
8 changed files with 288 additions and 80 deletions

View File

@@ -43,10 +43,14 @@ class _PatientProfileState extends State<PatientProfile> {
icon: const Icon(Icons.arrow_back),
iconSize: 35,
onTap: () {
context.goNamed(
'mihHome',
extra: true,
);
if (widget.arguments.type == "business") {
context.pop();
} else {
context.goNamed(
'mihHome',
extra: true,
);
}
FocusScope.of(context).unfocus();
},
);