Quellcode durchsuchen

Remove screenStack on JS reload

Guy Carmeli vor 8 Jahren
Ursprung
Commit
613f2b0c9f

+ 1
- 0
android/app/src/main/java/com/reactnativenavigation/layouts/BottomTabsLayout.java Datei anzeigen

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