This commit is contained in:
wt committed 2026-07-30 20:07:51 +07:00
commit 92660a4ba0
228 files changed
+24496

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
import SwiftUI
@main
@MainActor
struct LumaApp: App {
@StateObject private var model = AppModel()
@Environment(\.scenePhase) private var scenePhase
var body: some Scene {
WindowGroup {
RootView(model: model)
.tint(Color(red: 0.14, green: 0.56, blue: 0.96))
.onChange(of: scenePhase) { _, phase in
model.setApplicationActive(phase == .active)
}
}
#if os(macOS)
.defaultSize(width: 1_080, height: 720)
#endif
}
}