Browse Source

fix number of arguments

Yonah Forst 7 years ago
parent
commit
ea111a4c44

+ 1
- 1
android/src/main/java/com/joshblour/reactnativepermissions/ReactNativePermissionsModule.java View File

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