fix choose user navigation

This commit is contained in:
Salvatore Giordano
2020-11-30 09:55:23 +01:00
parent fc6d2a6f42
commit c0d7571fbf
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -155,9 +155,10 @@ class ChooseUserPage extends StatelessWidget {
if (!kIsWeb) { if (!kIsWeb) {
initNotifications(client); initNotifications(client);
} }
Navigator.pushReplacementNamed( Navigator.pushNamedAndRemoveUntil(
context, context,
Routes.HOME, Routes.HOME,
ModalRoute.withName(Routes.HOME),
); );
}, },
leading: UserAvatar( leading: UserAvatar(
+1 -1
View File
@@ -1,6 +1,6 @@
name: example name: example
description: A new Flutter project. description: A new Flutter project.
version: 1.0.82+84 version: 1.0.83+85
environment: environment:
sdk: ">=2.2.2 <3.0.0" sdk: ">=2.2.2 <3.0.0"