diff options
author | Ewan Fox <ewan@ewanfox.com> | 2023-08-20 05:02:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-20 13:02:48 +0900 |
commit | b5752a451e93cc58b281552fc64125f807e32e15 (patch) | |
tree | c90d9d0fabb652e3e41f749bdb909682d42330d3 /ext/js/pages/welcome-main.js | |
parent | dea8898c9dbfefde038c1648580efd25f974126f (diff) |
Add Intuitive Permission Toggle to Welcome Page (#214)
Diffstat (limited to 'ext/js/pages/welcome-main.js')
-rw-r--r-- | ext/js/pages/welcome-main.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/js/pages/welcome-main.js b/ext/js/pages/welcome-main.js index eb8bd675..521ce2c2 100644 --- a/ext/js/pages/welcome-main.js +++ b/ext/js/pages/welcome-main.js @@ -23,6 +23,7 @@ * ExtensionContentController * GenericSettingController * ModalController + * RecommendedPermissionsController * ScanInputsSimpleController * SettingsController * SettingsDisplayController @@ -77,6 +78,9 @@ async function setupGenericSettingsController(genericSettingController) { const simpleScanningInputController = new ScanInputsSimpleController(settingsController); simpleScanningInputController.prepare(); + const recommendedPermissionsController = new RecommendedPermissionsController(settingsController); + recommendedPermissionsController.prepare(); + await Promise.all(preparePromises); document.documentElement.dataset.loaded = 'true'; |