fix(lib): Fix warning for deprecated RCTBridge interface for RCTImageLoader (#87)
This commit is contained in:
parent
7850dd538f
commit
c0a132daec
|
@ -176,7 +176,7 @@ RCT_EXPORT_METHOD(saveToCameraRoll:(NSURLRequest *)request
|
|||
inputURI = request.URL;
|
||||
saveWithOptions();
|
||||
} else {
|
||||
[self.bridge.imageLoader loadImageWithURLRequest:request callback:^(NSError *error, UIImage *image) {
|
||||
[[self->_bridge moduleForClass:[RCTImageLoader class]] loadImageWithURLRequest:request callback:^(NSError *error, UIImage *image) {
|
||||
if (error) {
|
||||
reject(kErrorUnableToLoad, nil, error);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue