A local-first personal finance app
Remove remaining tutorial code (#1174)
Shazib Hussain83459b4c783a
diff --git a/packages/loot-core/src/server/main.ts b/packages/loot-core/src/server/main.tsindex fa0015087c..9777438cbc 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.mdnew file mode 100644index 0000000000..3ccac9bd7e--- /dev/null+++ b/upcoming-release-notes/1174.md@@ -0,0 +1,6 @@+---+category: Maintenance+authors: [Shazib]+---++Remove legacy tutorial code from loot-core.