Browse Source
Dismiss all modals before app start to ensure this use case does not break (#6152)
This commit adds a call to dismissAllModals before setRoot to ensure this use case doesn't break in the future.
Guy Carmeli
4 years ago
No account linked to committer's email address
|
@@ -22,6 +22,7 @@ function start() {
|
22
|
22
|
registerScreens();
|
23
|
23
|
Navigation.events().registerAppLaunchedListener(async () => {
|
24
|
24
|
setDefaultOptions();
|
|
25
|
+ Navigation.dismissAllModals();
|
25
|
26
|
setRoot();
|
26
|
27
|
});
|
27
|
28
|
}
|