mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-10 22:45:24 +08:00
Fix typo in ReadableMapKeySetIterator.
Reviewed By: mkonicek Differential Revision: D2564934 fb-gh-sync-id: 2ef1a0f5c1550d912dc751100c307659a5159fa3
This commit is contained in:
committed by
facebook-github-bot-4
parent
852eba2a91
commit
a5c693dd53
@@ -14,7 +14,7 @@ import javax.annotation.Nullable;
|
||||
import android.util.SparseBooleanArray;
|
||||
|
||||
import com.facebook.infer.annotation.Assertions;
|
||||
import com.facebook.react.bridge.ReadableMapKeySeyIterator;
|
||||
import com.facebook.react.bridge.ReadableMapKeySetIterator;
|
||||
|
||||
/**
|
||||
* Class responsible for optimizing the native view hierarchy while still respecting the final UI
|
||||
@@ -417,7 +417,7 @@ public class NativeViewHierarchyOptimizer {
|
||||
return false;
|
||||
}
|
||||
|
||||
ReadableMapKeySeyIterator keyIterator = props.mBackingMap.keySetIterator();
|
||||
ReadableMapKeySetIterator keyIterator = props.mBackingMap.keySetIterator();
|
||||
while (keyIterator.hasNextKey()) {
|
||||
if (!ViewProps.isLayoutOnly(keyIterator.nextKey())) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user