fix status lights

This commit is contained in:
Milos Kozak 2020-06-22 21:01:32 +02:00
parent c66084d3ab
commit 500de5fa2d

View file

@ -139,7 +139,7 @@ class NSSettingsStatus @Inject constructor(
val targetlow = getSettingsThreshold("bgTargetBottom") val targetlow = getSettingsThreshold("bgTargetBottom")
if (targetHigh != null) defaultValueHelper.bgTargetHigh = targetHigh if (targetHigh != null) defaultValueHelper.bgTargetHigh = targetHigh
if (targetlow != null) defaultValueHelper.bgTargetLow = targetlow if (targetlow != null) defaultValueHelper.bgTargetLow = targetlow
copyStatusLightsNsSettings(null) if (config.NSCLIENT) copyStatusLightsNsSettings(null)
} }
fun getName(): String? = fun getName(): String? =