1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Mobile: Allow enabling and disabling feature flags

This commit is contained in:
Laurent Cozic
2021-06-19 17:32:36 +01:00
parent fc132216cb
commit 5b368e39ca
10 changed files with 189 additions and 130 deletions

View File

@ -334,6 +334,12 @@ export enum SettingItemType {
Button = 6,
}
export enum AppType {
Desktop = 'desktop',
Mobile = 'mobile',
Cli = 'cli',
}
export enum SettingStorage {
Database = 1,
File = 2,
@ -377,7 +383,7 @@ export interface SettingItem {
/**
* Reserved property. Not used at the moment.
*/
appTypes?: string[];
appTypes?: AppType[];
/**
* Set this to `true` to store secure data, such as passwords. Any such