refactor
This commit is contained in:
parent
c82f07056d
commit
67a669ee17
@ -112,7 +112,7 @@ class MountList with ChangeNotifier {
|
||||
if (constants.navigatorKey.currentContext == null ||
|
||||
ModalRoute.of(constants.navigatorKey.currentContext!)?.settings.name !=
|
||||
'/') {
|
||||
constants.navigatorKey.currentState?.pushReplacementNamed('/');
|
||||
await constants.navigatorKey.currentState?.pushReplacementNamed('/');
|
||||
}
|
||||
|
||||
_mountList = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user