Store key_boluswizard_percentage to RunningConfiguration
This commit is contained in:
parent
40864620e0
commit
80e65824a3
1 changed files with 2 additions and 0 deletions
|
@ -213,6 +213,7 @@ class OverviewPlugin @Inject constructor(
|
||||||
.putDouble(R.string.key_statuslights_res_critical, sp, rh)
|
.putDouble(R.string.key_statuslights_res_critical, sp, rh)
|
||||||
.putDouble(R.string.key_statuslights_bat_warning, sp, rh)
|
.putDouble(R.string.key_statuslights_bat_warning, sp, rh)
|
||||||
.putDouble(R.string.key_statuslights_bat_critical, sp, rh)
|
.putDouble(R.string.key_statuslights_bat_critical, sp, rh)
|
||||||
|
.putInt(R.string.key_boluswizard_percentage, sp, rh)
|
||||||
|
|
||||||
override fun applyConfiguration(configuration: JSONObject) {
|
override fun applyConfiguration(configuration: JSONObject) {
|
||||||
configuration
|
configuration
|
||||||
|
@ -240,6 +241,7 @@ class OverviewPlugin @Inject constructor(
|
||||||
.storeDouble(R.string.key_statuslights_res_critical, sp, rh)
|
.storeDouble(R.string.key_statuslights_res_critical, sp, rh)
|
||||||
.storeDouble(R.string.key_statuslights_bat_warning, sp, rh)
|
.storeDouble(R.string.key_statuslights_bat_warning, sp, rh)
|
||||||
.storeDouble(R.string.key_statuslights_bat_critical, sp, rh)
|
.storeDouble(R.string.key_statuslights_bat_critical, sp, rh)
|
||||||
|
.storeInt(R.string.key_boluswizard_percentage, sp, rh)
|
||||||
}
|
}
|
||||||
|
|
||||||
@Volatile
|
@Volatile
|
||||||
|
|
Loading…
Reference in a new issue