Browse Source

Return if hasStartedCreatingContext already in SplashActivity (#701)

Yedidya Kennard 7 years ago
parent
commit
37ecf3eeeb

+ 1
- 0
android/app/src/main/java/com/reactnativenavigation/controllers/SplashActivity.java View File

@@ -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()) {