mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 03:26:07 +00:00
adding missing string case in ReadableNativeMap to HashMap
Summary:about #6639 Closes https://github.com/facebook/react-native/pull/6762 Differential Revision: D3126541 fb-gh-sync-id: f895e6d3b4c0abec41b56a031828763a4e8e210f fbshipit-source-id: f895e6d3b4c0abec41b56a031828763a4e8e210f
This commit is contained in:
parent
9eb75b4dfb
commit
351c97ec37
@ -67,6 +67,9 @@ public class ReadableNativeMap extends NativeMap implements ReadableMap {
|
||||
case Number:
|
||||
hashMap.put(key, getDouble(key));
|
||||
break;
|
||||
case String:
|
||||
hashMap.put(key, getString(key));
|
||||
break;
|
||||
case Map:
|
||||
hashMap.put(key, getMap(key).toHashMap());
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user