1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-12 00:32:17 -04:00

greeter: try to fix random nixos issue

This commit is contained in:
bbedward
2026-02-06 10:56:44 -05:00
parent e1ea441215
commit 393e9ed2e4
3 changed files with 13 additions and 7 deletions

View File

@@ -132,7 +132,7 @@ Item {
function onLastSuccessfulUserChanged() {
applyLastSuccessfulUser();
}
function onLastSessionIdChanged() {
function onMemoryReadyChanged() {
finalizeSessionSelection();
}
}
@@ -1030,6 +1030,8 @@ Item {
function finalizeSessionSelection() {
if (GreeterState.sessionList.length === 0)
return;
if (!GreetdMemory.memoryReady)
return;
const savedSession = GreetdMemory.lastSessionId;
if (savedSession) {