From d41bdeb4b27f4638c76fd8d707ea2477c20d17fc Mon Sep 17 00:00:00 2001 From: Vojtech Novak Date: Thu, 17 Oct 2024 10:59:09 +0200 Subject: [PATCH] fix: RN 0.76 fabric compatibility --- .../java/com/reactnativepagerview/PagerViewViewManager.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/src/fabric/java/com/reactnativepagerview/PagerViewViewManager.kt b/android/src/fabric/java/com/reactnativepagerview/PagerViewViewManager.kt index e9c4a52d..5dae9757 100644 --- a/android/src/fabric/java/com/reactnativepagerview/PagerViewViewManager.kt +++ b/android/src/fabric/java/com/reactnativepagerview/PagerViewViewManager.kt @@ -37,7 +37,7 @@ class PagerViewViewManager : ViewGroupManager(), RNCViewPa return PagerViewViewManagerImpl.NAME } - override fun receiveCommand(root: NestedScrollableHost, commandId: String?, args: ReadableArray?) { + override fun receiveCommand(root: NestedScrollableHost, commandId: String, args: ReadableArray?) { mDelegate.receiveCommand(root, commandId, args) } @@ -211,4 +211,4 @@ class PagerViewViewManager : ViewGroupManager(), RNCViewPa PageScrollStateChangedEvent.EVENT_NAME, MapBuilder.of("registrationName", "onPageScrollStateChanged"), PageSelectedEvent.EVENT_NAME, MapBuilder.of("registrationName", "onPageSelected")) } -} \ No newline at end of file +}