Przeglądaj źródła

Remove screenStack on JS reload

Guy Carmeli 8 lat temu
rodzic
commit
613f2b0c9f

+ 1
- 0
android/app/src/main/java/com/reactnativenavigation/layouts/BottomTabsLayout.java Wyświetl plik

@@ -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