Skip to content
Snippets Groups Projects
Unverified Commit 83459b4c authored by Shazib Hussain's avatar Shazib Hussain Committed by GitHub
Browse files

Remove remaining tutorial code (#1174)

Looks like this got missed in the last PR!
parent 9d041aaa
No related branches found
No related tags found
No related merge requests found
......@@ -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))) {
......
---
category: Maintenance
authors: [Shazib]
---
Remove legacy tutorial code from loot-core.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment