refresh icon on error to take you back home

This commit is contained in:
2024-11-07 10:28:03 +02:00
parent c44943fd6d
commit 3b1b863a6f

View File

@@ -108,7 +108,9 @@ class _MIHProfileGetterState extends State<MIHProfileGetter> {
actionButton: MIHAction( actionButton: MIHAction(
icon: const Icon(Icons.refresh), icon: const Icon(Icons.refresh),
iconSize: 35, iconSize: 35,
onTap: () {}, onTap: () {
Navigator.of(context).popAndPushNamed("/");
},
), ),
header: const MIHHeader( header: const MIHHeader(
headerAlignment: MainAxisAlignment.center, headerAlignment: MainAxisAlignment.center,