Guy Carmeli 8 лет назад
Родитель
Сommit
2723557d47

+ 3
- 3
android/app/src/main/java/com/reactnativenavigation/views/CollapsingContentView.java Просмотреть файл

54
     }
54
     }
55
 
55
 
56
     public void destroy() {
56
     public void destroy() {
57
-        if (scrollViewDelegate != null) {
58
-            scrollViewDelegate.destroy();
59
-        }
60
         if (scrollViewDetector != null) {
57
         if (scrollViewDetector != null) {
61
             scrollViewDetector.destroy();
58
             scrollViewDetector.destroy();
62
         }
59
         }
60
+        if (scrollViewDelegate != null) {
61
+            scrollViewDelegate.destroy();
62
+        }
63
     }
63
     }
64
 
64
 
65
     @Override
65
     @Override