Explorar el Código

Fix nope on activity reload

Guy Carmeli hace 8 años
padre
commit
2723557d47

+ 3
- 3
android/app/src/main/java/com/reactnativenavigation/views/CollapsingContentView.java Ver fichero

@@ -54,12 +54,12 @@ public class CollapsingContentView extends ContentView implements CollapsingView
54 54
     }
55 55
 
56 56
     public void destroy() {
57
-        if (scrollViewDelegate != null) {
58
-            scrollViewDelegate.destroy();
59
-        }
60 57
         if (scrollViewDetector != null) {
61 58
             scrollViewDetector.destroy();
62 59
         }
60
+        if (scrollViewDelegate != null) {
61
+            scrollViewDelegate.destroy();
62
+        }
63 63
     }
64 64
 
65 65
     @Override