diff --git a/ReactAndroid/src/main/java/com/facebook/react/bridge/JavaOnlyMap.java b/ReactAndroid/src/main/java/com/facebook/react/bridge/JavaOnlyMap.java index 62be17622..bce96a339 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/bridge/JavaOnlyMap.java +++ b/ReactAndroid/src/main/java/com/facebook/react/bridge/JavaOnlyMap.java @@ -107,8 +107,8 @@ public class JavaOnlyMap implements ReadableMap, WritableMap { } @Override - public JavaOnlyMap getMap(String name) { - return (JavaOnlyMap) mBackingMap.get(name); + public ReadableMap getMap(String name) { + return (ReadableMap) mBackingMap.get(name); } @Override