1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-23 22:36:32 +02:00

Desktop: Resolves #12714: Make more settings per-profile (application layout, note list style, and note list order) (#12825)

This commit is contained in:
Henry Heino
2025-07-31 09:12:31 -07:00
committed by GitHub
parent cbdc98553a
commit 00e4657a39
5 changed files with 186 additions and 44 deletions

View File

@@ -809,7 +809,7 @@ export default class BaseApplication {
const locale = shim.detectAndSetLocale(Setting);
reg.logger().info(`First start: detected locale as ${locale}`);
}
Setting.skipDefaultMigrations();
Setting.skipMigrations();
if (Setting.value('env') === 'dev') {
Setting.setValue('showTrayIcon', false);
@@ -819,8 +819,7 @@ export default class BaseApplication {
Setting.setValue('firstStart', false);
} else {
Setting.applyDefaultMigrations();
Setting.applyUserSettingMigration();
await Setting.applyMigrations();
}
setLocale(Setting.value('locale'));