瀏覽代碼

Fix push to modal results in invisible modal

Guy Carmeli 8 年之前
父節點
當前提交
c3bda3e0f9
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      android/app/src/main/java/com/reactnativenavigation/screens/ScreenStack.java

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

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