Browse Source

Fix push to modal results in invisible modal

Guy Carmeli 8 years ago
parent
commit
c3bda3e0f9

+ 1
- 0
android/app/src/main/java/com/reactnativenavigation/screens/ScreenStack.java View File

@@ -49,6 +49,7 @@ public class ScreenStack {
49 49
     }
50 50
 
51 51
     public void pushInitialScreenWithAnimation(final ScreenParams initialScreenParams, RelativeLayout.LayoutParams params) {
52
+        isStackVisible = true;
52 53
         pushInitialScreen(initialScreenParams, params);
53 54
         final Screen screen = stack.peek();
54 55
         screen.setOnDisplayListener(new Screen.OnDisplayListener() {