🐛 fix(lock): remove duplicate connection, only start if configured, stop on unlock

This commit is contained in:
0blivi0nis
2025-10-26 23:05:45 -07:00
parent 3aa1d5f1ed
commit 9610baf903
2 changed files with 44 additions and 48 deletions
@@ -25,13 +25,6 @@ Scope {
LockContext {
id: lockContext
Connections {
target: GlobalStates
function onScreenLockedChanged() {
if (GlobalStates.screenLocked) lockContext.reset();
}
}
Connections {
target: GlobalStates
function onScreenLockedChanged() {