From 7e2bd01c3626ddf6a4a6844b4148d24382916260 Mon Sep 17 00:00:00 2001 From: Davide Date: Tue, 29 Oct 2024 14:44:00 +0100 Subject: [PATCH] Omit lock screen on macOS --- Passepartout/App/Platforms/App+macOS.swift | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Passepartout/App/Platforms/App+macOS.swift b/Passepartout/App/Platforms/App+macOS.swift index 3bc90583..747d822e 100644 --- a/Passepartout/App/Platforms/App+macOS.swift +++ b/Passepartout/App/Platforms/App+macOS.swift @@ -86,11 +86,8 @@ extension PassepartoutApp { @SceneBuilder var body: some Scene { - Window(appName, id: appName) { - contentView() - .themeLockScreen() - } - .defaultSize(width: 600, height: 400) + Window(appName, id: appName, content: contentView) + .defaultSize(width: 600, height: 400) Settings { SettingsView(profileManager: context.profileManager)