diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-24 12:58:44 +0800 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-24 12:58:44 +0800 |
| commit | 41004e5d0cb45d075c27ddca4e01730fe7d19539 (patch) | |
| tree | 52fa3a77f46aea908ac129e1aa3389a74c7afa96 /modules/dashboard/dash/Weather.qml | |
| parent | dashboard: calendar no need for layout (diff) | |
| download | caelestia-shell-41004e5d0cb45d075c27ddca4e01730fe7d19539.tar.gz caelestia-shell-41004e5d0cb45d075c27ddca4e01730fe7d19539.tar.bz2 caelestia-shell-41004e5d0cb45d075c27ddca4e01730fe7d19539.zip | |
dashboard: default weather
Diffstat (limited to 'modules/dashboard/dash/Weather.qml')
| -rw-r--r-- | modules/dashboard/dash/Weather.qml | 4 |
1 files 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) |