瀏覽代碼

Merge pull request #217 from eugenehp/master

Fixing #216
Mathieu Acthernoene 7 年之前
父節點
當前提交
3f2cfc9ca3
No account linked to committer's email address
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. 1
    1
      ios/RCTConvert+RNPStatus.h
  2. 1
    1
      ios/RCTConvert+RNPStatus.m

+ 1
- 1
ios/RCTConvert+RNPStatus.h 查看文件

@@ -33,7 +33,7 @@ typedef NS_ENUM(NSInteger, RNPType) {
33 33
     RNPTypeNotification,
34 34
     RNPTypeBackgroundRefresh,
35 35
     RNPTypeSpeechRecognition,
36
-    RNPTypeMediaLibrary
36
+    RNPTypeMediaLibrary,
37 37
     RNPTypeMotion
38 38
 };
39 39
 

+ 1
- 1
ios/RCTConvert+RNPStatus.m 查看文件

@@ -21,7 +21,7 @@ RCT_ENUM_CONVERTER(RNPType, (@{ @"location" : @(RNPTypeLocation),
21 21
                                 @"notification" : @(RNPTypeNotification),
22 22
                                 @"backgroundRefresh": @(RNPTypeBackgroundRefresh),
23 23
                                 @"speechRecognition": @(RNPTypeSpeechRecognition),
24
-                                @"mediaLibrary": @(RNPTypeMediaLibrary)
24
+                                @"mediaLibrary": @(RNPTypeMediaLibrary),
25 25
                                 @"motion": @(RNPTypeMotion)
26 26
                                 }),
27 27
                                 RNPTypeUnknown, integerValue)