forked from yaso_meth/mih-project
refresh icon on error to take you back home
This commit is contained in:
@@ -108,7 +108,9 @@ class _MIHProfileGetterState extends State<MIHProfileGetter> {
|
||||
actionButton: MIHAction(
|
||||
icon: const Icon(Icons.refresh),
|
||||
iconSize: 35,
|
||||
onTap: () {},
|
||||
onTap: () {
|
||||
Navigator.of(context).popAndPushNamed("/");
|
||||
},
|
||||
),
|
||||
header: const MIHHeader(
|
||||
headerAlignment: MainAxisAlignment.center,
|
||||
|
||||
Reference in New Issue
Block a user