Browse Source

Fixed header import defines

Artur Chrusciel 7 years ago
parent
commit
d4b465a366
2 changed files with 6 additions and 6 deletions
  1. 3
    3
      ios/RNFetchBlobNetwork.h
  2. 3
    3
      ios/RNFetchBlobRequest.h

+ 3
- 3
ios/RNFetchBlobNetwork.h View File

@@ -6,6 +6,9 @@
6 6
 //  Copyright © 2016 wkh237. All rights reserved.
7 7
 //
8 8
 
9
+#ifndef RNFetchBlobNetwork_h
10
+#define RNFetchBlobNetwork_h
11
+
9 12
 #import <Foundation/Foundation.h>
10 13
 #import "RNFetchBlobProgress.h"
11 14
 #import "RNFetchBlobFS.h"
@@ -17,9 +20,6 @@
17 20
 #import "RCTBridgeModule.h"
18 21
 #endif
19 22
 
20
-#ifndef RNFetchBlobNetwork_h
21
-#define RNFetchBlobNetwork_h
22
-
23 23
 
24 24
 @interface RNFetchBlobNetwork : NSObject  <NSURLSessionDelegate, NSURLSessionTaskDelegate, NSURLSessionDataDelegate>
25 25
 

+ 3
- 3
ios/RNFetchBlobRequest.h View File

@@ -6,6 +6,9 @@
6 6
 //  Copyright © 2018 wkh237.github.io. All rights reserved.
7 7
 //
8 8
 
9
+#ifndef RNFetchBlobRequest_h
10
+#define RNFetchBlobRequest_h
11
+
9 12
 #import <Foundation/Foundation.h>
10 13
 
11 14
 #import "RNFetchBlobProgress.h"
@@ -16,9 +19,6 @@
16 19
 #import "RCTBridgeModule.h"
17 20
 #endif
18 21
 
19
-#ifndef RNFetchBlobRequest_h
20
-#define RNFetchBlobRequest_h
21
-
22 22
 @interface RNFetchBlobRequest : NSObject <NSURLSessionDelegate, NSURLSessionTaskDelegate, NSURLSessionDataDelegate>
23 23
 
24 24
 @property (nullable, nonatomic) NSString * taskId;