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.
This commit is contained in:
Matthew Harris 2019-10-04 21:32:20 +07:00 committed by Daniel Sogl
parent a1fb93707f
commit b7a4e44308

View File

@ -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
};