Skip to content

Commit c3d85a9

Browse files
author
Veselina Radeva
committed
(lint): fix lint error
1 parent 6f39deb commit c3d85a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/imagepicker.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ class ImagePickerPH extends ImagePicker {
345345
return new Promise<image_source.ImageSource>((resolve, reject) => {
346346
let size: CGSize = options ? CGSizeMake(options.maxWidth, options.maxHeight) : PHImageManagerMaximumSize;
347347
let resizeMode = PHImageRequestOptions.alloc().init();
348-
let aspectRatio = (options && options.iosAspectRatio && options.iosAspectRatio == 'fit') ? PHImageContentMode.AspectFit : PHImageContentMode.AspectFill;
348+
let aspectRatio = (options && options.iosAspectRatio && options.iosAspectRatio === 'fit') ? PHImageContentMode.AspectFit : PHImageContentMode.AspectFill;
349349

350350
// TODO: Decide whether it is benefical to use PHImageRequestOptionsResizeModeFast
351351
// Accuracy vs Performance. It is probably best to expose these as iOS specific options.

0 commit comments

Comments
 (0)