summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.qml b/src/main.qml
index cb97b7a..af4dd13 100644
--- a/src/main.qml
+++ b/src/main.qml
@@ -59,7 +59,7 @@ Application {
Label {
width: parent.width*0.8
anchors.horizontalCenter: parent.horizontalCenter
- text: "You've walked " + stepsDataLoader.getTodayData() + " steps today, keep it up!"
+ text: stepsDataLoader.getTodayData() ? "You've walked " + stepsDataLoader.getTodayData() + " steps today, keep it up!" : "You haven't yet logged any steps today"
wrapMode: Text.WordWrap
horizontalAlignment: Text.AlignHCenter
}