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

Web: Show sync wizard on first start (#13470)

This commit is contained in:
Henry Heino
2025-10-18 01:48:13 -07:00
committed by GitHub
parent ab9d36fc08
commit c26fe0960b
3 changed files with 24 additions and 1 deletions

View File

@@ -488,6 +488,14 @@ const buildStartupTasks = (
// await printTestData();
});
addTask('buildStartupTasks/optionally show sync wizard', async () => {
if (Setting.value('sync.wizard.autoShowOnStartup') && Setting.value('sync.target') === 0) {
dispatch({
type: 'SYNC_WIZARD_VISIBLE_CHANGE',
visible: true,
});
}
});
return startupTasks;
};