File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments