1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

Restructure lock screen

This commit is contained in:
bbedward
2025-10-13 17:44:09 -04:00
parent 3e167a2c52
commit a3ada5b2bb
10 changed files with 26 additions and 33 deletions

View File

@@ -54,26 +54,8 @@ Item {
WallpaperBackground {}
LazyLoader {
id: lockLoader
active: false
Lock {
id: lock
anchors.fill: parent
Component.onCompleted: {
IdleService.lockComponent = lock
}
}
}
Timer {
id: lockInitTimer
interval: 100
running: true
repeat: false
onTriggered: lockLoader.active = true
Lock {
id: lock
}
Loader {
@@ -195,7 +177,7 @@ Item {
powerMenuModalLoader: controlCenterLoader.powerModalLoaderRef
onLockRequested: {
lockLoader.item.activate()
lock.activate()
}
Component.onCompleted: {