Skip to content

Commit

Permalink
fix undeclared identifier 'data'
Browse files Browse the repository at this point in the history
  • Loading branch information
souvik-ghosh committed May 24, 2021
1 parent 7728c78 commit f80a20c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/CreateThumbnail.m
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ @implementation CreateThumbnail
UIImage *thumbnail = [UIImage imageWithData:imageData];
resolve(@{
@"path" : fullPath,
@"size" : [NSNumber numberWithFloat: data.length],
@"size" : [NSNumber numberWithFloat: imageData.length],
@"mime" : [NSString stringWithFormat: @"image/%@", format],
@"width" : [NSNumber numberWithFloat: thumbnail.size.width],
@"height" : [NSNumber numberWithFloat: thumbnail.size.height]
Expand Down

0 comments on commit f80a20c

Please sign in to comment.