From 4847d9bddfc0c76f6c25c5d8029830e507716ec1 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Thu, 22 Oct 2020 12:51:20 +0000 Subject: [PATCH] added cpu optimize onboarding option --- src/config/onboarding.py | 4 ++++ static-data/www/onboarding/index.html | 13 ++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/src/config/onboarding.py b/src/config/onboarding.py index b090b60d..18d5e835 100644 --- a/src/config/onboarding.py +++ b/src/config/onboarding.py @@ -37,6 +37,10 @@ def set_config_from_onboarding(config_settings: OnboardingConfig): config.reload() + if get(config_settings, 'optimize'): + config.set('ui.animated_background', False) + config.set('general.insert_deniable_blocks', False) + if get(config_settings, 'stateTarget') or not get(config_settings, 'networkContrib'): config.set('general.security_level', 1) diff --git a/static-data/www/onboarding/index.html b/static-data/www/onboarding/index.html index e14e6371..04a7f795 100644 --- a/static-data/www/onboarding/index.html +++ b/static-data/www/onboarding/index.html @@ -219,7 +219,18 @@ + + +
+
+