Skip to content

Commit 53237c7

Browse files
Abbondanzometa-codesync[bot]
authored andcommitted
Restore nested ScrollView manager generation parity (#58779)
Summary: Pull Request resolved: #58779 Regenerate `ReactNestedScrollViewManager` from `ReactScrollViewManager` so the checked-in output exactly matches its generator. This incorporates an existing Kotlin formatting delta and refreshes the SignedSource token. Changelog: [Internal] Differential Revision: D122278947 fbshipit-source-id: 92d170a195b3ecce63fd66716e1d7131e354a1cd
1 parent 5e6b108 commit 53237c7

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

‎packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/scroll/ReactNestedScrollViewManager.kt‎

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* This source code is licensed under the MIT license found in the
55
* LICENSE file in the root directory of this source tree.
66
*
7-
* @generated SignedSource<<3b339a7d81f8e32cf6b6ca93ae9a388b>>
7+
* @generated SignedSource<<acbc1716191446a5c496c66dfa368b52>>
88
*/
99

1010
/**
@@ -461,15 +461,17 @@ constructor(private val fpsListener: FpsListener? = null) :
461461
companion object {
462462
const val REACT_CLASS: String = "RCTScrollView"
463463

464-
fun createExportedCustomDirectEventTypeConstants(): Map<String, Any> = mapOf(
465-
getJSEventName(ScrollEventType.SCROLL) to mapOf("registrationName" to "onScroll"),
466-
getJSEventName(ScrollEventType.BEGIN_DRAG) to
467-
mapOf("registrationName" to "onScrollBeginDrag"),
468-
getJSEventName(ScrollEventType.END_DRAG) to mapOf("registrationName" to "onScrollEndDrag"),
469-
getJSEventName(ScrollEventType.MOMENTUM_BEGIN) to
470-
mapOf("registrationName" to "onMomentumScrollBegin"),
471-
getJSEventName(ScrollEventType.MOMENTUM_END) to
472-
mapOf("registrationName" to "onMomentumScrollEnd"),
473-
)
464+
fun createExportedCustomDirectEventTypeConstants(): Map<String, Any> =
465+
mapOf(
466+
getJSEventName(ScrollEventType.SCROLL) to mapOf("registrationName" to "onScroll"),
467+
getJSEventName(ScrollEventType.BEGIN_DRAG) to
468+
mapOf("registrationName" to "onScrollBeginDrag"),
469+
getJSEventName(ScrollEventType.END_DRAG) to
470+
mapOf("registrationName" to "onScrollEndDrag"),
471+
getJSEventName(ScrollEventType.MOMENTUM_BEGIN) to
472+
mapOf("registrationName" to "onMomentumScrollBegin"),
473+
getJSEventName(ScrollEventType.MOMENTUM_END) to
474+
mapOf("registrationName" to "onMomentumScrollEnd"),
475+
)
474476
}
475477
}

0 commit comments

Comments
 (0)