Fix unexistant createJSModules on rn 0.47+

This commit is contained in:
Mathieu Acthernoene 2017-08-02 19:53:12 +02:00
parent dba1000fa7
commit f19cd9bcd6
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ public class RNI18nPackage implements ReactPackage {
return Arrays.<NativeModule>asList(new RNI18nModule(reactContext)); return Arrays.<NativeModule>asList(new RNI18nModule(reactContext));
} }
@Override // Deprecated in React Native 0.47
public List<Class<? extends JavaScriptModule>> createJSModules() { public List<Class<? extends JavaScriptModule>> createJSModules() {
return Collections.emptyList(); return Collections.emptyList();
} }