Browse Source

fix type on double quote

Jean-Baptiste PIN 8 years ago
parent
commit
ec97809c00

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

56
       return;
56
       return;
57
     }
57
     }
58
 
58
 
59
-    if(permission.equals('notification')) {
59
+    if(permission.equals("notification")) {
60
       if (mNotificationManagerCompat.areNotificationsEnabled()) {
60
       if (mNotificationManagerCompat.areNotificationsEnabled()) {
61
         promise.resolve("authorized");
61
         promise.resolve("authorized");
62
       } else {
62
       } else {
138
     }
138
     }
139
   }
139
   }
140
 
140
 
141
-}
141
+}