avoid double dot

This commit is contained in:
timzaak 2016-05-12 10:50:25 +08:00
parent cdde0a4d0a
commit 452f4fafdc
1 changed files with 1 additions and 1 deletions

View File

@ -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) {