瀏覽代碼

Fix splash screen not getting dismissed when app returns to forground

Guy Carmeli 8 年之前
父節點
當前提交
c5ebbfba75
共有 1 個檔案被更改,包括 1 行新增4 行删除
  1. 1
    4
      android/app/src/main/java/com/reactnativenavigation/controllers/SplashActivity.java

+ 1
- 4
android/app/src/main/java/com/reactnativenavigation/controllers/SplashActivity.java 查看文件

24
         super.onResume();
24
         super.onResume();
25
 
25
 
26
         if (NavigationApplication.instance.getReactGateway().hasStartedCreatingContext()) {
26
         if (NavigationApplication.instance.getReactGateway().hasStartedCreatingContext()) {
27
-            if (DeepLinkHandler.hasDeepLinkData()) {
28
-                finish();
29
-            }
30
-            return;
27
+            finish();
31
         }
28
         }
32
 
29
 
33
         if (ReactDevPermission.shouldAskPermission()) {
30
         if (ReactDevPermission.shouldAskPermission()) {