diff options
Diffstat (limited to 'ext/js/pages/welcome-main.js')
-rw-r--r-- | ext/js/pages/welcome-main.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/js/pages/welcome-main.js b/ext/js/pages/welcome-main.js index 16ef7b52..72eef995 100644 --- a/ext/js/pages/welcome-main.js +++ b/ext/js/pages/welcome-main.js @@ -56,15 +56,13 @@ async function setupGenericSettingsController(genericSettingController) { setupEnvironmentInfo(); - const optionsFull = await yomichan.api.optionsGetFull(); - const preparePromises = []; const modalController = new ModalController(); modalController.prepare(); - const settingsController = new SettingsController(optionsFull.profileCurrent); - settingsController.prepare(); + const settingsController = new SettingsController(); + await settingsController.prepare(); const dictionaryController = new DictionaryController(settingsController, modalController, statusFooter); dictionaryController.prepare(); |