mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
autofmt
This commit is contained in:
@@ -508,18 +508,18 @@ Singleton {
|
||||
});
|
||||
}
|
||||
|
||||
function lock() {
|
||||
if (!PanelService.lockScreen.active) {
|
||||
CompositorService.lock();
|
||||
}
|
||||
function lock() {
|
||||
if (!PanelService.lockScreen.active) {
|
||||
CompositorService.lock();
|
||||
}
|
||||
}
|
||||
|
||||
function lockAndSuspend() {
|
||||
// Only lock and suspend if not already locked
|
||||
if (!PanelService.lockScreen.active) {
|
||||
CompositorService.lockAndSuspend();
|
||||
}
|
||||
function lockAndSuspend() {
|
||||
// Only lock and suspend if not already locked
|
||||
if (!PanelService.lockScreen.active) {
|
||||
CompositorService.lockAndSuspend();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
IpcHandler {
|
||||
|
||||
Reference in New Issue
Block a user