You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/SurfaceMountingManager.kt
+27-7Lines changed: 27 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -626,13 +626,14 @@ internal constructor(
626
626
publicfunstoreSynchronousMountPropsOverride(reactTag:Int, props:ReadableMap): Unit {
627
627
if (ReactNativeFeatureFlags.overrideBySynchronousMountPropsAtMountingAndroid()) {
628
628
val propsMap = getMapFromPropsReadableMap(props)
629
-
var synchronousMountProps = tagToSynchronousMountProps[reactTag]
630
-
if (synchronousMountProps !=null) {
631
-
synchronousMountProps.putAll(propsMap)
629
+
val synchronousMountProps = tagToSynchronousMountProps[reactTag] ?:mutableMapOf()
Copy file name to clipboardExpand all lines: packages/react-native/ReactAndroid/src/test/java/com/facebook/react/animated/NativeAnimatedNodeTraversalTest.kt
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1076,7 +1076,7 @@ class NativeAnimatedNodeTraversalTest {
1076
1076
}
1077
1077
1078
1078
@Test
1079
-
funtestRestoreDefaultPropsIsNoOp() {
1079
+
funtestRestoreDefaultPropsSendsNullUpdate() {
1080
1080
val viewTag:Int=1001
1081
1081
val propsNodeTag =3
1082
1082
nativeAnimatedNodesManager.createAnimatedNode(
@@ -1097,7 +1097,9 @@ class NativeAnimatedNodeTraversalTest {
Copy file name to clipboardExpand all lines: packages/react-native/ReactAndroid/src/test/java/com/facebook/react/fabric/SurfaceMountingManagerSynchronousMountPropsTest.kt
0 commit comments