Skip to content

Commit cda82f5

Browse files
generatedunixname89002005287564facebook-github-bot
authored andcommitted
fbsource//xplat/js/react-native-github/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/animated:animatedAndroid (facebook#51215)
Summary: Pull Request resolved: facebook#51215 Reviewed By: javache Differential Revision: D74463923 fbshipit-source-id: a2494b9f1881b40488d284f84dbaafc807c2a2e9
1 parent 71ef049 commit cda82f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/animated/EventAnimationDriver.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ internal class EventAnimationDriver(
7777
val index = eventPath[i].toInt()
7878
val keyType = currArray?.getType(index)
7979
if (keyType == ReadableType.Map) {
80-
currMap = currArray?.getMap(index)
80+
currMap = currArray.getMap(index)
8181
currArray = null
8282
} else if (keyType == ReadableType.Array) {
83-
currArray = currArray?.getArray(index)
83+
currArray = currArray.getArray(index)
8484
currMap = null
8585
} else {
8686
throw UnexpectedNativeTypeException("Unexpected type $keyType for index '$index'")

0 commit comments

Comments
 (0)