mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-06-10 05:03:28 -04:00
fix(powermenu): close control center on lock and power actions (#2598)
This commit is contained in:
@@ -1140,6 +1140,7 @@ Item {
|
||||
id: powerMenuModal
|
||||
|
||||
onPowerActionRequested: (action, title, message) => {
|
||||
PopoutService.closeControlCenter();
|
||||
switch (action) {
|
||||
case "logout":
|
||||
SessionService.logout();
|
||||
@@ -1160,6 +1161,7 @@ Item {
|
||||
}
|
||||
|
||||
onLockRequested: {
|
||||
PopoutService.closeControlCenter();
|
||||
lock.activate();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user