summaryrefslogtreecommitdiff
path: root/modules/lock/LockSurface.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/lock/LockSurface.qml')
-rw-r--r--modules/lock/LockSurface.qml10
1 files changed, 4 insertions, 6 deletions
diff --git a/modules/lock/LockSurface.qml b/modules/lock/LockSurface.qml
index 5ddd7ae..ed6895b 100644
--- a/modules/lock/LockSurface.qml
+++ b/modules/lock/LockSurface.qml
@@ -69,8 +69,8 @@ WlSessionLockSurface {
weatherWidth: weather.implicitWidth
buttonsWidth: buttons.item?.nonAnimWidth ?? 0
buttonsHeight: buttons.item?.nonAnimHeight ?? 0
- statusWidth: status.item?.nonAnimWidth ?? 0
- statusHeight: status.item?.nonAnimHeight ?? 0
+ statusWidth: status.nonAnimWidth ?? 0
+ statusHeight: status.nonAnimHeight ?? 0
isNormal: root.screen.width > Config.lock.sizes.smallScreenWidth
isLarge: root.screen.width > Config.lock.sizes.largeScreenWidth
@@ -162,17 +162,15 @@ WlSessionLockSurface {
sourceComponent: Buttons {}
}
- Loader {
+ Status {
id: status
- active: root.screen.width > Config.lock.sizes.largeScreenWidth
-
anchors.bottom: parent.top
anchors.left: parent.right
anchors.bottomMargin: -backgrounds.statusBottom
anchors.leftMargin: -backgrounds.statusLeft
- sourceComponent: Status {}
+ showNotifs: root.screen.width > Config.lock.sizes.largeScreenWidth
}
component Anim: NumberAnimation {