Skip to content

Commit 0a99bfa

Browse files
committed
Apply #259
1 parent e8f0ca0 commit 0a99bfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/permissions.ios.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const DEFAULTS = {
3131

3232
class ReactNativePermissions {
3333
canOpenSettings: () => Promise<boolean> = () =>
34-
PermissionsIOS.canOpenSettings();
34+
PermissionsIOS.canOpenSettings().then(result => !!result);
3535

3636
openSettings: () => Promise<*> = () => PermissionsIOS.openSettings();
3737

0 commit comments

Comments
 (0)