Commit a3822dd8 authored by Andrew Shini's avatar Andrew Shini

Use moduleForClass API

parent 03ad7324
...@@ -80,7 +80,7 @@ RCT_NOT_IMPLEMENTED(-init) ...@@ -80,7 +80,7 @@ RCT_NOT_IMPLEMENTED(-init)
else { else {
// Load the image (without resizing it) // Load the image (without resizing it)
__weak GLImage *weakSelf = self; __weak GLImage *weakSelf = self;
_loading = [_bridge.imageLoader loadImageWithURLRequest:source.request _loading = [[_bridge moduleForClass:[RCTImageLoader class]] loadImageWithURLRequest:source.request
size:CGSizeZero size:CGSizeZero
scale:0 scale:0
clipped:YES clipped:YES
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment