Explorar el Código

fix number of arguments

Yonah Forst hace 7 años
padre
commit
ea111a4c44

+ 1
- 1
android/src/main/java/com/joshblour/reactnativepermissions/ReactNativePermissionsModule.java Ver fichero

@@ -85,7 +85,7 @@ public class ReactNativePermissionsModule extends ReactContextBaseJavaModule {
85 85
     Callback resolve = new Callback() {
86 86
       @Override
87 87
       public void invoke(Object... args) {
88
-        getPermissionStatus(permissionString, promise);
88
+        getPermissionStatus(permissionString, "", promise);
89 89
       }
90 90
     };
91 91
     Callback reject = new Callback() {