Fix back arrow on mobile in settings
This commit is contained in:
parent
e084a1a31b
commit
129828cc5d
|
|
@ -125,9 +125,11 @@ class ListScaffold extends StatelessWidget {
|
|||
);
|
||||
|
||||
return PopScope(
|
||||
canPop: false,
|
||||
canPop: !isSettings,
|
||||
onPopInvoked: (_) {
|
||||
if (!isSettings) {
|
||||
store.dispatch(ViewDashboard());
|
||||
}
|
||||
},
|
||||
child: FocusTraversalGroup(
|
||||
child: Scaffold(
|
||||
|
|
|
|||
Loading…
Reference in New Issue