Skip to content

Commit

Permalink
Bump RN to 0.76
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomiejbloniarz committed Oct 25, 2024
1 parent 373fda0 commit a6dd93a
Show file tree
Hide file tree
Showing 10 changed files with 772 additions and 765 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@ diff --git a/android/src/paper/java/com/reactnativepagerview/PagerViewViewManage
index 959362c62af06f791088c416e2db8f1629ab63ce..6c1e385dbc4e78af2d0449498fcd77acda57482f 100644
--- a/android/src/paper/java/com/reactnativepagerview/PagerViewViewManager.kt
+++ b/android/src/paper/java/com/reactnativepagerview/PagerViewViewManager.kt
@@ -34,7 +34,7 @@ class PagerViewViewManager : ViewGroupManager<NestedScrollableHost>() {
vp.adapter = ViewPagerAdapter()
//https://github.com/callstack/react-native-viewpager/issues/183
vp.isSaveEnabled = false
- eventDispatcher = reactContext.getNativeModule(UIManagerModule::class.java)!!.eventDispatcher
+ eventDispatcher = reactContext.getNativeModule(UIManagerModule::class.java)!!.getEventDispatcher()

vp.post {
vp.registerOnPageChangeCallback(object : OnPageChangeCallback() {
@@ -132,7 +132,7 @@ class PagerViewViewManager : ViewGroupManager<NestedScrollableHost>() {
PageSelectedEvent.EVENT_NAME, MapBuilder.of("registrationName", "onPageSelected"))
}
Expand Down
4 changes: 2 additions & 2 deletions apps/common-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"patch-package": "^8.0.0",
"prettier": "^3.3.3",
"react": "18.3.1",
"react-native": "0.76.0-rc.3",
"react-native-gesture-handler": "2.20.0",
"react-native": "0.76.0",
"react-native-gesture-handler": "2.20.2",
"react-native-pager-view": "patch:react-native-pager-view@npm%3A6.4.1#~/.yarn/patches/react-native-pager-view-npm-6.4.1-2322ade6e0.patch",
"react-native-reanimated": "workspace:*",
"react-native-safe-area-context": "patch:react-native-safe-area-context@npm%3A4.11.0#~/.yarn/patches/react-native-safe-area-context-npm-4.11.0-f8b3b898df.patch",
Expand Down
Loading

0 comments on commit a6dd93a

Please sign in to comment.