Skip to content
This repository was archived by the owner on Mar 16, 2019. It is now read-only.

Commit 8330f56

Browse files
committed
#223 Move import statements to .h file
1 parent 5223271 commit 8330f56

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

src/ios/RNFetchBlob/RNFetchBlob.h

+10
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,21 @@
1010
#ifndef RNFetchBlob_h
1111
#define RNFetchBlob_h
1212

13+
1314
#ifdef OLD_IMPORT
1415
#import "RCTBridgeModule.h"
16+
#import "RCTLog.h"
17+
#import "RCTRootView.h"
18+
#import "RCTBridge.h"
19+
#import "RCTEventDispatcher.h"
1520
#else
21+
#import <React/RCTLog.h>
22+
#import <React/RCTRootView.h>
23+
#import <React/RCTBridge.h>
24+
#import <React/RCTEventDispatcher.h>
1625
#import <React/RCTBridgeModule.h>
1726
#endif
27+
1828
#import <UIKit/UIKit.h>
1929

2030

src/ios/RNFetchBlob/RNFetchBlob.m

-17
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,6 @@
1212
#import "RNFetchBlobProgress.h"
1313

1414

15-
#ifdef OLD_IMPORT
16-
17-
#import "RCTLog.h"
18-
#import "RCTRootView.h"
19-
#import "RCTBridge.h"
20-
#import "RCTEventDispatcher.h"
21-
22-
#else
23-
24-
#import <React/RCTLog.h>
25-
#import <React/RCTRootView.h>
26-
#import <React/RCTBridge.h>
27-
#import <React/RCTEventDispatcher.h>
28-
29-
#endif
30-
31-
3215
__strong RCTBridge * bridgeRef;
3316
dispatch_queue_t commonTaskQueue;
3417
dispatch_queue_t fsQueue;

0 commit comments

Comments
 (0)