From 328ddf737b3713b064675bae49dec88a10b9d509 Mon Sep 17 00:00:00 2001 From: Sacha Froment Date: Tue, 5 Mar 2019 13:54:51 +0100 Subject: [PATCH] fix(mobile): fix bad navigation set Signed-off-by: Sacha Froment --- client/react-native/common/components/App.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/react-native/common/components/App.js b/client/react-native/common/components/App.js index 593325ca06..aac335949b 100644 --- a/client/react-native/common/components/App.js +++ b/client/react-native/common/components/App.js @@ -77,8 +77,10 @@ class HandleDeepLink extends PureComponent { { - this.navigation = navigation - NavigationService.setTopLevelNavigator(navigation) + if (Platform.OS !== 'web') { + this.navigation = navigation + NavigationService.setTopLevelNavigator(navigation) + } }} onNavigationStateChange={(prevState, currentState) => { const currentRoute = this.getActiveRouteName(currentState)