diff --git a/android/src/main/java/com/jsiviewhelpers/Scroller.kt b/android/src/main/java/com/jsiviewhelpers/Scroller.kt index 9809d0d..c56e20b 100644 --- a/android/src/main/java/com/jsiviewhelpers/Scroller.kt +++ b/android/src/main/java/com/jsiviewhelpers/Scroller.kt @@ -43,7 +43,7 @@ object Scroller { scrollView = findView(context, scrollViewId.toInt()) } if (scrollView == null) return@runOnUiThread - val childView = ReactFindViewUtil.findView(scrollView, childNativeID ?: ") + val childView = ReactFindViewUtil.findView(scrollView, childNativeID ?: "") ?: return@runOnUiThread if (scrollView is ReactSwipeRefreshLayout) { scrollView = scrollView.getChildAt(0) diff --git a/package.json b/package.json index 1e5efd1..d714951 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-jsi-view-helpers", - "version": "1.0.6", + "version": "1.0.7", "description": "React Native Jsi view helpers", "main": "src/index", "module": "src/index",