Explorar el Código

Remove screenStack on JS reload

Guy Carmeli hace 8 años
padre
commit
613f2b0c9f

+ 1
- 0
android/app/src/main/java/com/reactnativenavigation/layouts/BottomTabsLayout.java Ver fichero

@@ -141,6 +141,7 @@ public class BottomTabsLayout extends RelativeLayout implements Layout, AHBottom
141 141
     public void destroy() {
142 142
         for (ScreenStack screenStack : screenStacks) {
143 143
             screenStack.destroy();
144
+            removeView(screenStack);
144 145
         }
145 146
     }
146 147