Skip to content

Commit

Permalink
Fixed RCTImageLoaderProtocol/RCTImageLoader deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
itinance committed Feb 5, 2020
1 parent 8c08573 commit bbafdc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError

[version]
0.78.0
0.109.0
5 changes: 5 additions & 0 deletions RNFSManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@

#import <React/RCTEventDispatcher.h>
#import <React/RCTUtils.h>

#if __has_include(<React/RCTImageLoader.h>)
#import <React/RCTImageLoader.h>
#else
#import <React/RCTImageLoaderProtocol.h>
#endif

#import <CommonCrypto/CommonDigest.h>
#import <Photos/Photos.h>
Expand Down

0 comments on commit bbafdc1

Please sign in to comment.