Skip to content

Commit 98dd6f9

Browse files
author
Kanta Asada
committed
Remove blank line.
1 parent cac15f6 commit 98dd6f9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

index.ios.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,14 @@ class ReactNativePermissions {
4343
}
4444

4545
request = (permission, options) => {
46-
let type = null;
46+
let type = null
4747
if (typeof options === 'string' || options instanceof Array) {
48-
console.warn('[react-native-permissions] : You are using a deprecated version of request(). You should use an object as second parameter. Please check the documentation for more information : https://github.com/yonahforst/react-native-permissions');
49-
type = options;
48+
console.warn(
49+
'[react-native-permissions] : You are using a deprecated version of request(). You should use an object as second parameter. Please check the documentation for more information : https://github.com/yonahforst/react-native-permissions',
50+
)
51+
type = options
5052
} else if (options != null) {
51-
type = options.type;
53+
type = options.type
5254
}
5355

5456
if (!permissionTypes.includes(permission)) {
@@ -65,8 +67,6 @@ class ReactNativePermissions {
6567
)
6668
}
6769

68-
69-
7070
return PermissionsIOS.requestPermission(
7171
permission,
7272
type || DEFAULTS[permission],

0 commit comments

Comments
 (0)