Fix previout commit on macOS

This commit is contained in:
Davide 2024-10-31 12:23:00 +01:00
parent 9f22053fa9
commit e7666e6097
No known key found for this signature in database
GPG Key ID: A48836171C759F5E
1 changed files with 5 additions and 3 deletions

View File

@ -71,9 +71,11 @@ extension PassepartoutApp {
@SceneBuilder @SceneBuilder
var body: some Scene { var body: some Scene {
Window(appName, id: appName, content: contentView) Window(appName, id: appName) {
.defaultSize(width: 600, height: 400) contentView()
.withEnvironment(from: context, theme: theme) .withEnvironment(from: context, theme: theme)
}
.defaultSize(width: 600, height: 400)
Settings { Settings {
SettingsView(profileManager: context.profileManager) SettingsView(profileManager: context.profileManager)