Commit 234da238 authored by Steven Scaffidi's avatar Steven Scaffidi Committed by GitHub

Update GLImage.m

parent b574f4b3
...@@ -77,9 +77,10 @@ RCT_NOT_IMPLEMENTED(-init) ...@@ -77,9 +77,10 @@ RCT_NOT_IMPLEMENTED(-init)
} }
else { else {
// Load the image (without resizing it) // Load the image (without resizing it)
_loading = [_bridge.imageLoader loadImageWithoutClipping:_source.imageURL.absoluteString _loading = [_bridge.imageLoader loadImageWithURLRequest:_source.imageURL.absoluteString
size:CGSizeZero size:CGSizeZero
scale:0 scale:0
clipped:YES
resizeMode:RCTResizeModeStretch resizeMode:RCTResizeModeStretch
progressBlock:nil progressBlock:nil
completionBlock:^(NSError *error, UIImage *image) { completionBlock:^(NSError *error, UIImage *image) {
......
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