import SwiftUI @main struct SoraApp: App { @StateObject private var settings = Settings() var body: some Scene { WindowGroup { MainView() .environmentObject(settings) } #if os(macOS) SwiftUI.Settings { SettingsView() .environmentObject(settings) .windowResizeBehavior(.enabled) } #endif } }