Explorar el Código

Fix activity recreation when NavigationActivity is recreated

Guy Carmeli hace 7 años
padre
commit
d774bc0812

+ 1
- 0
android/app/src/main/java/com/reactnativenavigation/controllers/NavigationActivity.java Ver fichero

@@ -66,6 +66,7 @@ public class NavigationActivity extends AppCompatActivity implements DefaultHard
66 66
         if (!NavigationApplication.instance.getReactGateway().hasStartedCreatingContext()) {
67 67
             SplashActivity.start(this);
68 68
             finish();
69
+            return;
69 70
         }
70 71
 
71 72
         activityParams = NavigationCommandsHandler.parseActivityParams(getIntent());