From aca46616205d0db3cfda98aa9c6abd6a7dba480c Mon Sep 17 00:00:00 2001 From: Bruce Blore Date: Sat, 13 May 2023 04:31:22 -0700 Subject: [PATCH] Removed unnecessary semicolon in typescript too, changed type of settings function --- apps/folderlaunch/settings.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/folderlaunch/settings.ts b/apps/folderlaunch/settings.ts index 1f8cff031..1ce4bc0cd 100644 --- a/apps/folderlaunch/settings.ts +++ b/apps/folderlaunch/settings.ts @@ -1,4 +1,4 @@ -(function (back: Function) { +(function (back) { const loader = require('folderlaunch-configLoad.js'); const storage = require('Storage'); const textinput = require('textinput'); @@ -181,7 +181,7 @@ config.hash = 0; // Invalidate the cache so changes to hidden apps or folders actually get reflected loader.cleanAndSave(config); changed = false; // So we don't do it again on exit - }; + } }; E.on('kill', save); @@ -269,4 +269,4 @@ }); }; showMainMenu(); -}); \ No newline at end of file +} satisfies SettingsFunc); \ No newline at end of file