Store key_boluswizard_percentage to RunningConfiguration

This commit is contained in:
Milos Kozak 2021-12-30 18:46:30 +01:00
parent 40864620e0
commit 80e65824a3

View file

@ -213,6 +213,7 @@ class OverviewPlugin @Inject constructor(
.putDouble(R.string.key_statuslights_res_critical, sp, rh)
.putDouble(R.string.key_statuslights_bat_warning, sp, rh)
.putDouble(R.string.key_statuslights_bat_critical, sp, rh)
.putInt(R.string.key_boluswizard_percentage, sp, rh)
override fun applyConfiguration(configuration: JSONObject) {
configuration
@ -240,6 +241,7 @@ class OverviewPlugin @Inject constructor(
.storeDouble(R.string.key_statuslights_res_critical, sp, rh)
.storeDouble(R.string.key_statuslights_bat_warning, sp, rh)
.storeDouble(R.string.key_statuslights_bat_critical, sp, rh)
.storeInt(R.string.key_boluswizard_percentage, sp, rh)
}
@Volatile