@@ -518,12 +518,14 @@ FocusScope {
518518 }
519519
520520 function showHome() {
521− if (edgeDemo.running)
521+ if (edgeDemo.running) {
522522 return
523+ }
523524
524525 if (LightDM.Greeter.active) {
525− if (!LightDM.Greeter.promptless)
526+ if (!LightDM.Greeter.promptless) {
526527 lockscreen.show()
528+ }
527529 greeter.hide()
528530 }
529531
@@ -533,8 +535,9 @@ FocusScope {
533535 }
534536
535537 function showDash() {
536− if (LightDM.Greeter.active && !LightDM.Greeter.promptless)
538+ if (LightDM.Greeter.active && !LightDM.Greeter.promptless) {
537539 return;
540+ }
538541
539542 if (stages.shown && !stages.overlayMode && !stages.locked) {
540543 stages.hide();
@@ -610,8 +613,9 @@ FocusScope {
610613 onDash: showDash()
611614 onDashSwipeChanged: if (dashSwipe && stages.shown) dash.setCurrentScope("clickscope", false, true)
612615 onLauncherApplicationSelected: {
613− if (greeter.fakeActiveForApp !== "")
616+ if (greeter.fakeActiveForApp !== "") {
614617 lockscreen.show()
618+ }
615619 if (!edgeDemo.running)
616620 shell.activateApplication(appId)
617621 }