summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-28 22:37:11 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-28 22:37:11 +1000
commit04efbcc7818b5ef372ba32403e53899d31518678 (patch)
tree88721425110f30877692e58e2c7c6039cbee6291 /modules
parentdashboard: optimise systemusage (diff)
downloadcaelestia-shell-04efbcc7818b5ef372ba32403e53899d31518678.tar.gz
caelestia-shell-04efbcc7818b5ef372ba32403e53899d31518678.tar.bz2
caelestia-shell-04efbcc7818b5ef372ba32403e53899d31518678.zip
internal: make weather reload on creation
Cause loadered
Diffstat (limited to 'modules')
-rw-r--r--modules/dashboard/dash/Weather.qml5
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/dashboard/dash/Weather.qml b/modules/dashboard/dash/Weather.qml
index 24c7e00..cc19385 100644
--- a/modules/dashboard/dash/Weather.qml
+++ b/modules/dashboard/dash/Weather.qml
@@ -11,10 +11,7 @@ Item {
implicitWidth: icon.implicitWidth + info.implicitWidth + info.anchors.leftMargin
- onVisibleChanged: {
- if (visible)
- Weather.reload();
- }
+ Component.onCompleted: Weather.reload()
MaterialIcon {
id: icon