about naviation fix

This commit is contained in:
2024-09-16 16:06:30 +02:00
parent 1b4c68f805
commit 1f75a6fe7f
2 changed files with 7 additions and 10 deletions

View File

@@ -23,7 +23,9 @@ class _MIHAboutState extends State<MIHAbout> {
return MIHAction(
icon: Icons.arrow_back,
iconSize: 50,
onTap: () {},
onTap: () {
Navigator.of(context).pushNamedAndRemoveUntil('/', (route) => false);
},
);
}