From ea4354b3e1c01549e9c27e6b0918cc7efca3af91 Mon Sep 17 00:00:00 2001 From: Arseniy Movshev Date: Thu, 29 Jun 2023 01:27:35 +0100 Subject: Use todayTotal to make total update live --- src/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 } -- cgit v1.2.3-70-g09d2