Commit dc3ad38
committed
fix(android): compile RNGestureHandlerModule with Kotlin 2.3
Avoid shadowing between the local `rootViewTag` and the synthetic Kotlin
property on `ReactRootView` by using an explicit receiver and
`getRootViewTag()`.
Fixes compilation with Kotlin 2.3.x toolchains (e.g. alongside Stripe and
other SDKs built with Kotlin 2.3 metadata).
Made-with: Cursor1 parent 8c1b72d commit dc3ad38
1 file changed
Lines changed: 2 additions & 1 deletion
File tree
- packages/react-native-gesture-handler/android/src/main/java/com/swmansion/gesturehandler/react
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
| 174 | + | |
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
| |||
0 commit comments