Commit a8f01e22 authored by Gaëtan Renaudeau's avatar Gaëtan Renaudeau Committed by GitHub

Merge pull request #207 from superandrew213/fix-imageLoader-deprecation

Replaced deprecated bridge.imageLoader calls with moduleForClass API
parents 03ad7324 a3822dd8
......@@ -80,7 +80,7 @@ RCT_NOT_IMPLEMENTED(-init)
else {
// Load the image (without resizing it)
__weak GLImage *weakSelf = self;
_loading = [_bridge.imageLoader loadImageWithURLRequest:source.request
_loading = [[_bridge moduleForClass:[RCTImageLoader class]] loadImageWithURLRequest:source.request
size:CGSizeZero
scale:0
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