Properly read autoStopCharging value

This commit is contained in:
Matti Viljanen 2020-04-26 11:39:20 +03:00
parent 6191766aa2
commit 663c94c1ce
No known key found for this signature in database
GPG key ID: CF32A1495158F888

View file

@ -36,6 +36,7 @@ Page {
Component.onCompleted: { Component.onCompleted: {
// These we can read only once // These we can read only once
autoStopCharging.checked = settings.limitEnabled
highLimitSlider.value = settings.highLimit highLimitSlider.value = settings.highLimit
lowLimitSlider.value = settings.lowLimit lowLimitSlider.value = settings.lowLimit
notificationsSwitch.checked = settings.notificationsEnabled notificationsSwitch.checked = settings.notificationsEnabled