瀏覽代碼

fix incorrect permission name.

Chuong Le 7 年之前
父節點
當前提交
ae17f4ce6e
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      index.android.js

+ 1
- 1
index.android.js 查看文件

@@ -12,7 +12,7 @@ const RNPTypes = {
12 12
 	event: RNPermissions.PERMISSIONS.READ_CALENDAR,
13 13
 	storage: RNPermissions.PERMISSIONS.READ_EXTERNAL_STORAGE,
14 14
 	photo: RNPermissions.PERMISSIONS.READ_EXTERNAL_STORAGE,
15
-	call_phone: RNPermissions.PERMISSIONS.CALL_PHONE,
15
+	callPhone: RNPermissions.PERMISSIONS.CALL_PHONE,
16 16
 	readSms: RNPermissions.PERMISSIONS.READ_SMS,
17 17
 	receiveSms: RNPermissions.PERMISSIONS.RECEIVE_SMS,
18 18
 }