diff --git a/main.go b/main.go index 5d44d44..382e1ce 100644 --- a/main.go +++ b/main.go @@ -300,9 +300,8 @@ func setValues() { tempSetting.SetReadOnly(false) startStopCharge.SetChecked(chargeStats.ChargingState == "Charging") - if chargeStats.ChargingState == "Disconnected" { - startStopCharge.SetCheckable(false) - } + + startStopCharge.SetCheckable(chargeStats.ChargingState != "Disconnected") }