Bläddra i källkod

fix type on double quote

Jean-Baptiste PIN 8 år sedan
förälder
incheckning
ec97809c00

+ 2
- 2
android/src/main/java/com/joshblour/reactnativepermissions/ReactNativePermissionsModule.java Visa fil

@@ -56,7 +56,7 @@ public class ReactNativePermissionsModule extends ReactContextBaseJavaModule {
56 56
       return;
57 57
     }
58 58
 
59
-    if(permission.equals('notification')) {
59
+    if(permission.equals("notification")) {
60 60
       if (mNotificationManagerCompat.areNotificationsEnabled()) {
61 61
         promise.resolve("authorized");
62 62
       } else {
@@ -138,4 +138,4 @@ public class ReactNativePermissionsModule extends ReactContextBaseJavaModule {
138 138
     }
139 139
   }
140 140
 
141
-}
141
+}