From 452f4fafdc5b70d8fcf264a9a49aaeb895c6dcfb Mon Sep 17 00:00:00 2001 From: timzaak Date: Thu, 12 May 2016 10:50:25 +0800 Subject: [PATCH] avoid double dot --- ios/RCTImageResizer/RCTImageResizer.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/RCTImageResizer/RCTImageResizer.m b/ios/RCTImageResizer/RCTImageResizer.m index badd13d..9642937 100644 --- a/ios/RCTImageResizer/RCTImageResizer.m +++ b/ios/RCTImageResizer/RCTImageResizer.m @@ -40,7 +40,7 @@ RCT_EXPORT_METHOD(createResizedImage:(NSString *)path callback:(RCTResponseSenderBlock)callback) { CGSize newSize = CGSizeMake(width, height); - NSString* fullPath = generateCacheFilePath(@".jpg"); + NSString* fullPath = generateCacheFilePath(@"jpg"); [_bridge.imageLoader loadImageWithTag:path callback:^(NSError *error, UIImage *image) { if (error || image == nil) {