From 4919d34832b49cc93aa0b3468eb9cc6c3e321317 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 14 Jun 2025 05:11:25 -0700 Subject: feat: Development commit --- Sora/App/SoraApp.swift | 31 +++++++++++++++++++++++++++++++ Sora/SoraApp.swift | 31 ------------------------------- 2 files changed, 31 insertions(+), 31 deletions(-) create mode 100644 Sora/App/SoraApp.swift delete mode 100644 Sora/SoraApp.swift diff --git a/Sora/App/SoraApp.swift b/Sora/App/SoraApp.swift new file mode 100644 index 0000000..cea526f --- /dev/null +++ b/Sora/App/SoraApp.swift @@ -0,0 +1,31 @@ +import SwiftUI + +func debugPrint( + _ items: Any..., + separator: String = " ", + terminator: String = "\n" +) { + #if DEBUG + Swift.print(items, separator: separator, terminator: terminator) + #endif +} + +@main +struct SoraApp: App { + @StateObject private var settings = SettingsManager() + + var body: some Scene { + WindowGroup { + MainView() + .environmentObject(settings) + } + + #if os(macOS) + SwiftUI.Settings { + SettingsView() + .environmentObject(settings) + .windowResizeBehavior(.enabled) + } + #endif + } +} diff --git a/Sora/SoraApp.swift b/Sora/SoraApp.swift deleted file mode 100644 index cea526f..0000000 --- a/Sora/SoraApp.swift +++ /dev/null @@ -1,31 +0,0 @@ -import SwiftUI - -func debugPrint( - _ items: Any..., - separator: String = " ", - terminator: String = "\n" -) { - #if DEBUG - Swift.print(items, separator: separator, terminator: terminator) - #endif -} - -@main -struct SoraApp: App { - @StateObject private var settings = SettingsManager() - - var body: some Scene { - WindowGroup { - MainView() - .environmentObject(settings) - } - - #if os(macOS) - SwiftUI.Settings { - SettingsView() - .environmentObject(settings) - .windowResizeBehavior(.enabled) - } - #endif - } -} -- cgit v1.2.3