Removed unnecessary semicolon in typescript too, changed type of settings function

master
Bruce Blore 2023-05-13 04:31:22 -07:00
parent 5e47dc3926
commit aca4661620
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
(function (back: Function) { (function (back) {
const loader = require('folderlaunch-configLoad.js'); const loader = require('folderlaunch-configLoad.js');
const storage = require('Storage'); const storage = require('Storage');
const textinput = require('textinput'); const textinput = require('textinput');
@ -181,7 +181,7 @@
config.hash = 0; // Invalidate the cache so changes to hidden apps or folders actually get reflected config.hash = 0; // Invalidate the cache so changes to hidden apps or folders actually get reflected
loader.cleanAndSave(config); loader.cleanAndSave(config);
changed = false; // So we don't do it again on exit changed = false; // So we don't do it again on exit
}; }
}; };
E.on('kill', save); E.on('kill', save);
@ -269,4 +269,4 @@
}); });
}; };
showMainMenu(); showMainMenu();
}); } satisfies SettingsFunc);