From b7a4e44308e48c580df800b5190314a18b689b39 Mon Sep 17 00:00:00 2001 From: Matthew Harris Date: Fri, 4 Oct 2019 21:32:20 +0700 Subject: [PATCH] docs(camera): adjust example types (#3188) It seems like these two definitions were switched around accidentally. I'm just going from the obvious logic of it. I don't know if there is some situation where the names are intentionally switched around? Please only accept PR if you can vouch for my change. --- src/@ionic-native/plugins/camera/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/@ionic-native/plugins/camera/index.ts b/src/@ionic-native/plugins/camera/index.ts index c0e1368db..c72e5bea6 100644 --- a/src/@ionic-native/plugins/camera/index.ts +++ b/src/@ionic-native/plugins/camera/index.ts @@ -211,11 +211,11 @@ export class Camera extends IonicNativePlugin { * Convenience constant */ PictureSourceType = { - /** Choose image from picture library (same as SAVEDPHOTOALBUM for Android) */ + /** Choose image from picture library (same as PHOTOLIBRARY for Android) */ PHOTOLIBRARY: 0, /** Take picture from camera */ CAMERA: 1, - /** Choose image from picture library (same as PHOTOLIBRARY for Android) */ + /** Choose image from picture library (same as SAVEDPHOTOALBUM for Android) */ SAVEDPHOTOALBUM: 2 };