From 1bd2bdd1aa95ae97469bc910c6a026a2562815e8 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 11 May 2020 13:40:48 +0200 Subject: [PATCH] Fix pages navigation issue on mobile version --- lib/ui/routes/main_route/smartphone_route.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/routes/main_route/smartphone_route.dart b/lib/ui/routes/main_route/smartphone_route.dart index d5a0338..6c05577 100644 --- a/lib/ui/routes/main_route/smartphone_route.dart +++ b/lib/ui/routes/main_route/smartphone_route.dart @@ -41,7 +41,7 @@ class _MainRouteState extends MainController { appBar: currentPage.hideNavBar ? null : ComunicMobileAppBar(currentPage: currentPage), - body: SafeArea(child: currentPage.child), + body: SafeArea(key: currentPage.key, child: currentPage.child), ), ), ),