From df292afe692a30c74f497b4dd854333ab71779e0 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Mon, 18 Jan 2021 04:29:28 +0000 Subject: [PATCH] fix onboarding not optimizing cpu and added onboarding to add preset usernames --- static-data/www/onboarding/index.html | 19 +++++++++++++++---- static-data/www/onboarding/onboarding.js | 2 ++ 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/static-data/www/onboarding/index.html b/static-data/www/onboarding/index.html index 06210e5f..b8eff383 100644 --- a/static-data/www/onboarding/index.html +++ b/static-data/www/onboarding/index.html @@ -203,7 +203,7 @@
-
+
-
+
-
+
+
+
+
+
+ diff --git a/static-data/www/onboarding/onboarding.js b/static-data/www/onboarding/onboarding.js index f431d13a..0337b700 100644 --- a/static-data/www/onboarding/onboarding.js +++ b/static-data/www/onboarding/onboarding.js @@ -56,6 +56,8 @@ document.getElementById('onboardingForm').onsubmit = function(e){ submitInfo.mail = getCheckValue('useMail') submitInfo.circles = getCheckValue('useCircles') submitInfo.useDark = getCheckValue('useDarkTheme') + submitInfo.preloadUsernames = getCheckValue('usernames') + submitInfo.optimize = getCheckValue('optimize') if (submitInfo.donate){ openDonateModal(submitInfo)