mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +02:00
Desktop, Mobile: Automatically detect and use operating system theme by default
This commit is contained in:
parent
1b2f5e5cd8
commit
5beb80bf61
@ -113,6 +113,10 @@ const defaultMigrations: DefaultMigration[] = [
|
|||||||
name: 'style.editor.contentMaxWidth',
|
name: 'style.editor.contentMaxWidth',
|
||||||
previousDefault: 600,
|
previousDefault: 600,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'themeAutoDetect',
|
||||||
|
previousDefault: false,
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
// "UserSettingMigration" are used to migrate existing user setting to a new setting. With a way
|
// "UserSettingMigration" are used to migrate existing user setting to a new setting. With a way
|
||||||
|
@ -543,7 +543,7 @@ const builtInMetadata = (Setting: typeof SettingType) => {
|
|||||||
},
|
},
|
||||||
|
|
||||||
themeAutoDetect: {
|
themeAutoDetect: {
|
||||||
value: false,
|
value: true,
|
||||||
type: SettingItemType.Bool,
|
type: SettingItemType.Bool,
|
||||||
section: 'appearance',
|
section: 'appearance',
|
||||||
appTypes: [AppType.Mobile, AppType.Desktop],
|
appTypes: [AppType.Mobile, AppType.Desktop],
|
||||||
|
Loading…
Reference in New Issue
Block a user