@nativescript/camera
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -132,3 +132,3 @@ import { Utils, ImageSource, ImageAsset, Trace, Frame } from '@nativescript/core'; | ||
} | ||
else if (saveToGallery) { | ||
else if (saveToGallery || keepAspectRatio) { | ||
listener = UIImagePickerControllerDelegateImpl.new().initWithCallbackAndOptions(resolve, reject, { saveToGallery: saveToGallery, keepAspectRatio: keepAspectRatio, allowsEditing: allowsEditing }); | ||
@@ -135,0 +135,0 @@ } |
{ | ||
"name": "@nativescript/camera", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "Provides API for using device camera", | ||
@@ -5,0 +5,0 @@ "main": "index", |
Sorry, the diff of this file is not supported yet
67541