瀏覽代碼

Merge pull request #8 from prscX/master

RN47.0 has removed `createJSModules` method
Hau Vo 7 年之前
父節點
當前提交
80375aa933
共有 1 個檔案被更改,包括 1 行新增2 行删除
  1. 1
    2
      android/src/main/java/com/reactlibrary/RNThumbnailPackage.java

+ 1
- 2
android/src/main/java/com/reactlibrary/RNThumbnailPackage.java 查看文件

@@ -16,7 +16,6 @@ public class RNThumbnailPackage implements ReactPackage {
16 16
       return Arrays.<NativeModule>asList(new RNThumbnailModule(reactContext));
17 17
     }
18 18
 
19
-    @Override
20 19
     public List<Class<? extends JavaScriptModule>> createJSModules() {
21 20
       return Collections.emptyList();
22 21
     }
@@ -25,4 +24,4 @@ public class RNThumbnailPackage implements ReactPackage {
25 24
     public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
26 25
       return Collections.emptyList();
27 26
     }
28
-}
27
+}