avoid double dot
This commit is contained in:
parent
cdde0a4d0a
commit
452f4fafdc
|
@ -40,7 +40,7 @@ RCT_EXPORT_METHOD(createResizedImage:(NSString *)path
|
||||||
callback:(RCTResponseSenderBlock)callback)
|
callback:(RCTResponseSenderBlock)callback)
|
||||||
{
|
{
|
||||||
CGSize newSize = CGSizeMake(width, height);
|
CGSize newSize = CGSizeMake(width, height);
|
||||||
NSString* fullPath = generateCacheFilePath(@".jpg");
|
NSString* fullPath = generateCacheFilePath(@"jpg");
|
||||||
|
|
||||||
[_bridge.imageLoader loadImageWithTag:path callback:^(NSError *error, UIImage *image) {
|
[_bridge.imageLoader loadImageWithTag:path callback:^(NSError *error, UIImage *image) {
|
||||||
if (error || image == nil) {
|
if (error || image == nil) {
|
||||||
|
|
Loading…
Reference in New Issue