瀏覽代碼

Return if hasStartedCreatingContext already in SplashActivity (#701)

Yedidya Kennard 7 年之前
父節點
當前提交
37ecf3eeeb
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      android/app/src/main/java/com/reactnativenavigation/controllers/SplashActivity.java

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

@@ -25,6 +25,7 @@ public abstract class SplashActivity extends AppCompatActivity {
25 25
 
26 26
         if (NavigationApplication.instance.getReactGateway().hasStartedCreatingContext()) {
27 27
             finish();
28
+            return;
28 29
         }
29 30
 
30 31
         if (ReactDevPermission.shouldAskPermission()) {