0.7.9: via la barra di avanzamento dell'acqua

Partiva da 10 °C e stava sempre al 99%: non diceva niente. Tolta dal componente
ReadingCell (la usava solo la Home) e con essa la funzione waterProgress.
This commit is contained in:
Carlo
2026-10-11 18:52:08 +02:00
parent 1e2f5bbea3
commit 78eb283c9b
6 changed files with 28 additions and 25 deletions
-7
View File
@@ -12,8 +12,6 @@ BackgroundItem {
property string title: ""
property string value: ""
property string subtitle: ""
property real progress: 0
property bool showBar: false
property color valueColor: Theme.primaryColor
signal tapped()
@@ -53,10 +51,5 @@ BackgroundItem {
wrapMode: Text.Wrap
}
ProgressBar {
width: parent.width
value: Math.max(0, Math.min(1, root.progress))
opacity: root.showBar ? 1 : 0
}
}
}