瀏覽代碼

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 年之前
父節點
當前提交
81d01a077d
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      playground/src/app.js

+ 1
- 0
playground/src/app.js 查看文件

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