aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseniy Movshev <dodoradio@outlook.com>2023-06-29 01:27:35 +0100
committerArseniy Movshev <dodoradio@outlook.com>2023-06-29 01:27:35 +0100
commitea4354b3e1c01549e9c27e6b0918cc7efca3af91 (patch)
tree6be5fd2955b2ca601103ba46c68a11e8ff72d221
parent293c0cde41914f8d70292bdf8db56163bb0a29e3 (diff)
Use todayTotal to make total update live
-rw-r--r--src/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.qml b/src/main.qml
index bcbb71d..44af46e 100644
--- a/src/main.qml
+++ b/src/main.qml
@@ -56,7 +56,7 @@ Application {
Label {
width: parent.width*0.8
anchors.horizontalCenter: parent.horizontalCenter
- text: stepsDataLoader.getTodayTotal() ? "You've walked " + stepsDataLoader.getTodayTotal() + " steps today, keep it up!" : "You haven't yet logged any steps today"
+ text: stepsDataLoader.getTodayTotal() ? "You've walked " + stepsDataLoader.todayTotal + " steps today, keep it up!" : "You haven't yet logged any steps today"
wrapMode: Text.WordWrap
horizontalAlignment: Text.AlignHCenter
}