Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Commit

Permalink
Fix wrongly handled null value in toObject()
Browse files Browse the repository at this point in the history
  • Loading branch information
Üstün Ergenoglu committed Mar 22, 2017
1 parent f503de8 commit ce0b382
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -40,7 +40,7 @@ public static Object toObject(@Nullable ReadableMap readableMap, String key) {
ReadableType readableType = readableMap.getType(key);
switch (readableType) {
case Null:
result = key;
result = null;
break;
case Boolean:
result = readableMap.getBoolean(key);
Expand Down

0 comments on commit ce0b382

Please sign in to comment.