added cpu optimize onboarding option
parent
51c3078b90
commit
4847d9bddf
|
@ -37,6 +37,10 @@ def set_config_from_onboarding(config_settings: OnboardingConfig):
|
||||||
|
|
||||||
config.reload()
|
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,
|
if get(config_settings, 'stateTarget') or not get(config_settings,
|
||||||
'networkContrib'):
|
'networkContrib'):
|
||||||
config.set('general.security_level', 1)
|
config.set('general.security_level', 1)
|
||||||
|
|
|
@ -219,7 +219,18 @@
|
||||||
<nav class="level">
|
<nav class="level">
|
||||||
<div class="level-left">
|
<div class="level-left">
|
||||||
<div class="level-item">
|
<div class="level-item">
|
||||||
<i class="icon fas fa-dollar-sign" for="donate"></i> <input type="checkbox" name="donate"> <label for="donate">Donating the price of a coffee to fund development</label>
|
<i class="icon fas fa-dollar-sign" for="donate"></i> <input type="checkbox" name="donate"> <label for="donate">Donate the price of a coffee</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="column is-4">
|
||||||
|
<div class="box">
|
||||||
|
<nav class="level">
|
||||||
|
<div class="level-left">
|
||||||
|
<div class="level-item">
|
||||||
|
<i class="icon fas fa-microchip" for="optimize"></i> <input type="checkbox" name="optimize"> <label for="optimize">Optimize CPU</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
Loading…
Reference in New Issue