Guy Carmeli 6 years ago
parent
commit
6085d2e096

+ 3
- 3
lib/android/app/src/main/java/com/reactnativenavigation/viewcontrollers/ViewController.java View File

31
 
31
 
32
     private Runnable onAppearedListener;
32
     private Runnable onAppearedListener;
33
     private boolean appearEventPosted;
33
     private boolean appearEventPosted;
34
-    private boolean isFirstayout = true;
34
+    private boolean isFirstLayout = true;
35
     private Bool waitForRender = new NullBool();
35
     private Bool waitForRender = new NullBool();
36
 
36
 
37
     public interface ViewVisibilityListener {
37
     public interface ViewVisibilityListener {
239
 
239
 
240
     @Override
240
     @Override
241
     public void onGlobalLayout() {
241
     public void onGlobalLayout() {
242
-        if (isFirstayout) {
242
+        if (isFirstLayout) {
243
             onAttachToParent();
243
             onAttachToParent();
244
-            isFirstayout = false;
244
+            isFirstLayout = false;
245
         }
245
         }
246
         if (!isShown && isViewShown()) {
246
         if (!isShown && isViewShown()) {
247
             if (!viewVisibilityListener.onViewAppeared(view)) {
247
             if (!viewVisibilityListener.onViewAppeared(view)) {