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
     }
49
     }
50
 
50
 
51
     public void pushInitialScreenWithAnimation(final ScreenParams initialScreenParams, RelativeLayout.LayoutParams params) {
51
     public void pushInitialScreenWithAnimation(final ScreenParams initialScreenParams, RelativeLayout.LayoutParams params) {
52
+        isStackVisible = true;
52
         pushInitialScreen(initialScreenParams, params);
53
         pushInitialScreen(initialScreenParams, params);
53
         final Screen screen = stack.peek();
54
         final Screen screen = stack.peek();
54
         screen.setOnDisplayListener(new Screen.OnDisplayListener() {
55
         screen.setOnDisplayListener(new Screen.OnDisplayListener() {