We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71ef049 commit cda82f5Copy full SHA for cda82f5
packages/react-native/ReactAndroid/src/main/java/com/facebook/react/animated/EventAnimationDriver.kt
@@ -77,10 +77,10 @@ internal class EventAnimationDriver(
77
val index = eventPath[i].toInt()
78
val keyType = currArray?.getType(index)
79
if (keyType == ReadableType.Map) {
80
- currMap = currArray?.getMap(index)
+ currMap = currArray.getMap(index)
81
currArray = null
82
} else if (keyType == ReadableType.Array) {
83
- currArray = currArray?.getArray(index)
+ currArray = currArray.getArray(index)
84
currMap = null
85
} else {
86
throw UnexpectedNativeTypeException("Unexpected type $keyType for index '$index'")
0 commit comments