|
|
@ -300,9 +300,8 @@ func setValues() { |
|
|
|
tempSetting.SetReadOnly(false) |
|
|
|
tempSetting.SetReadOnly(false) |
|
|
|
|
|
|
|
|
|
|
|
startStopCharge.SetChecked(chargeStats.ChargingState == "Charging") |
|
|
|
startStopCharge.SetChecked(chargeStats.ChargingState == "Charging") |
|
|
|
if chargeStats.ChargingState == "Disconnected" { |
|
|
|
|
|
|
|
startStopCharge.SetCheckable(false) |
|
|
|
startStopCharge.SetCheckable(chargeStats.ChargingState != "Disconnected") |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|