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:
VonD 2016-04-01 09:11:08 -07:00 committed by Facebook Github Bot 7
parent 9eb75b4dfb
commit 351c97ec37

View File

@ -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;