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.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/lock/LockSurface.qml b/modules/lock/LockSurface.qml
index 047116f..83fb89f 100644
--- a/modules/lock/LockSurface.qml
+++ b/modules/lock/LockSurface.qml
@@ -75,6 +75,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
isNormal: root.screen.width > Config.lock.sizes.smallScreenWidth
isLarge: root.screen.width > Config.lock.sizes.largeScreenWidth
visible: false
@@ -168,6 +170,19 @@ WlSessionLockSurface {
sourceComponent: Buttons {}
}
+ Loader {
+ 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 {}
+ }
+
component Anim: NumberAnimation {
duration: Appearance.anim.durations.large
easing.type: Easing.BezierSpline