From 41004e5d0cb45d075c27ddca4e01730fe7d19539 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 24 May 2025 12:58:44 +0800 Subject: dashboard: default weather --- modules/dashboard/dash/Weather.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/dashboard/dash/Weather.qml b/modules/dashboard/dash/Weather.qml index 05c0174..3c48aee 100644 --- a/modules/dashboard/dash/Weather.qml +++ b/modules/dashboard/dash/Weather.qml @@ -40,7 +40,7 @@ Item { anchors.left: parent.left animate: true - text: root.icon + text: root.icon || "cloud_alert" color: Colours.palette.m3secondary font.pointSize: root.parent.height / 2 || 1 } @@ -68,7 +68,7 @@ Item { anchors.horizontalCenter: parent.horizontalCenter animate: true - text: root.description + text: root.description || qsTr("No weather") elide: Text.ElideRight width: Math.min(implicitWidth, root.parent.width - icon.implicitWidth - info.anchors.leftMargin - Appearance.padding.large * 2) -- cgit v1.2.3-freya