mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-10-30 01:34:51 +00:00
Fix issue when user decide to sign out
This commit is contained in:
@@ -63,8 +63,8 @@ class _InitializeWidgetState extends SafeState<InitializeWidget> {
|
||||
print(stack);
|
||||
|
||||
// Pop until we reach main route
|
||||
Navigator.of(context)
|
||||
.popUntil((settings) => ModalRoute.of(context).isCurrent);
|
||||
Navigator.of(context).popUntil((settings) =>
|
||||
ModalRoute.of(context).isCurrent || !ModalRoute.of(context).isActive);
|
||||
|
||||
setState(() {
|
||||
_error = true;
|
||||
|
||||
Reference in New Issue
Block a user