summaryrefslogtreecommitdiff
path: root/modules/lock/Status.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-09 19:32:40 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-09 19:32:40 +1000
commitec6e505bd1d988a59474cc8bdea796377153ab27 (patch)
treeb752fce9ff5a3fa3ba75913ac48214370c77d299 /modules/lock/Status.qml
parentinternal: better anims (diff)
downloadcaelestia-shell-ec6e505bd1d988a59474cc8bdea796377153ab27.tar.gz
caelestia-shell-ec6e505bd1d988a59474cc8bdea796377153ab27.tar.bz2
caelestia-shell-ec6e505bd1d988a59474cc8bdea796377153ab27.zip
lock: fix notifs height on startup
For some reason they do not have the correct height, so use a timer to recalculate after a small delay
Diffstat (limited to 'modules/lock/Status.qml')
-rw-r--r--modules/lock/Status.qml6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/lock/Status.qml b/modules/lock/Status.qml
index a803c76..a3a0cac 100644
--- a/modules/lock/Status.qml
+++ b/modules/lock/Status.qml
@@ -29,6 +29,12 @@ WrapperItem {
rightMargin: 0
topMargin: 0
+ Timer {
+ running: true
+ interval: 10
+ onTriggered: notifs.countChanged()
+ }
+
Behavior on implicitWidth {
Anim {
duration: Appearance.anim.durations.large