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
parent
commit
81d01a077d
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      playground/src/app.js

+ 1
- 0
playground/src/app.js View File

@@ -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
 }