mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-14 01:32:29 -04:00
lock: handle case where session lock is rejected
This commit is contained in:
@@ -32,8 +32,10 @@ Rectangle {
|
||||
}
|
||||
|
||||
onIsLockedChanged: {
|
||||
if (!isLocked) {
|
||||
lockContent.unlocking = false;
|
||||
if (isLocked) {
|
||||
lockContent.resetLockState();
|
||||
return;
|
||||
}
|
||||
lockContent.unlocking = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user