1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-12 22:57:38 +02:00

Mobile: Resolves #1998: Allow selecting camera ratio and fixed camera view aspect ratio. Also made camera type persistent.

This commit is contained in:
Laurent Cozic
2019-10-16 23:52:22 +02:00
parent 3281ab05b1
commit 58b307ba02
3 changed files with 147 additions and 30 deletions

View File

@ -480,6 +480,9 @@ class Setting extends BaseModel {
'welcome.wasBuilt': { value: false, type: Setting.TYPE_BOOL, public: false },
'welcome.enabled': { value: true, type: Setting.TYPE_BOOL, public: false },
'camera.type': { value: 0, type: Setting.TYPE_INT, public: false, appTypes: ['mobile'] },
'camera.ratio': { value: '4:3', type: Setting.TYPE_STRING, public: false, appTypes: ['mobile'] },
};
return this.metadata_;