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
var body: some Scene {
Window(appName, id: appName, content: contentView)
.defaultSize(width: 600, height: 400)
Window(appName, id: appName) {
contentView()
.withEnvironment(from: context, theme: theme)
}
.defaultSize(width: 600, height: 400)
Settings {
SettingsView(profileManager: context.profileManager)