session: fix binding breakage on close (#1754)

This commit is contained in:
end-4
2025-08-02 07:25:08 +07:00
parent 8e366cfc84
commit 2aea02989f
@@ -82,7 +82,7 @@ Scope {
target: GlobalStates target: GlobalStates
function onScreenLockedChanged() { function onScreenLockedChanged() {
if (GlobalStates.screenLocked) { if (GlobalStates.screenLocked) {
sessionLoader.active = false; GlobalStates.sessionOpen = false;
} }
} }
} }
@@ -93,7 +93,7 @@ Scope {
property string subtitle property string subtitle
function hide() { function hide() {
sessionLoader.active = false GlobalStates.sessionOpen = false;
} }
exclusionMode: ExclusionMode.Ignore exclusionMode: ExclusionMode.Ignore