瀏覽代碼

Merge pull request #227 from duanebester/permission-media-library-break-ios

Adding break point which fixes incorrect media library status
Mathieu Acthernoene 6 年之前
父節點
當前提交
99ac660f9c
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      ios/ReactNativePermissions.m

+ 1
- 0
ios/ReactNativePermissions.m 查看文件

@@ -150,6 +150,7 @@ RCT_REMAP_METHOD(getPermissionStatus, getPermissionStatus:(RNPType)type json:(id
150 150
             break;
151 151
         case RNPTypeMediaLibrary:
152 152
             status = [RNPMediaLibrary getStatus];
153
+            break;
153 154
         case RNPTypeMotion:
154 155
             status = [RNPMotion getStatus];
155 156
             break;