1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-29 16:26:27 +00:00

Fix issue when user decide to sign out

This commit is contained in:
Pierre HUBERT 2020-05-01 11:00:30 +02:00
parent 4c1e33a264
commit 0bb9be9a72

View File

@ -63,8 +63,8 @@ class _InitializeWidgetState extends SafeState<InitializeWidget> {
print(stack); print(stack);
// Pop until we reach main route // Pop until we reach main route
Navigator.of(context) Navigator.of(context).popUntil((settings) =>
.popUntil((settings) => ModalRoute.of(context).isCurrent); ModalRoute.of(context).isCurrent || !ModalRoute.of(context).isActive);
setState(() { setState(() {
_error = true; _error = true;