diff --git a/packages/loot-core/src/server/main.ts b/packages/loot-core/src/server/main.ts index fa0015087c1..9777438cbc0 100644 --- a/packages/loot-core/src/server/main.ts +++ b/packages/loot-core/src/server/main.ts @@ -1475,14 +1475,12 @@ handlers['save-global-prefs'] = async function (prefs) { handlers['load-global-prefs'] = async function () { let [ [, floatingSidebar], - [, seenTutorial], [, maxMonths], [, autoUpdate], [, documentDir], [, encryptKey], ] = await asyncStorage.multiGet([ 'floating-sidebar', - 'seen-tutorial', 'max-months', 'auto-update', 'document-dir', @@ -1490,7 +1488,6 @@ handlers['load-global-prefs'] = async function () { ]); return { floatingSidebar: floatingSidebar === 'true' ? true : false, - seenTutorial: seenTutorial === 'true' ? true : false, maxMonths: stringToInteger(maxMonths || ''), autoUpdate: autoUpdate == null || autoUpdate === 'true' ? true : false, documentDir: documentDir || getDefaultDocumentDir(), @@ -2041,11 +2038,6 @@ handlers['create-budget'] = async function ({ return {}; }; -handlers['set-tutorial-seen'] = async function () { - await asyncStorage.setItem('seen-tutorial', 'true'); - return 'ok'; -}; - handlers['import-budget'] = async function ({ filepath, type }) { try { if (!(await fs.exists(filepath))) { diff --git a/upcoming-release-notes/1174.md b/upcoming-release-notes/1174.md new file mode 100644 index 00000000000..3ccac9bd7e1 --- /dev/null +++ b/upcoming-release-notes/1174.md @@ -0,0 +1,6 @@ +--- +category: Maintenance +authors: [Shazib] +--- + +Remove legacy tutorial code from loot-core.