19 lines
288 B
Swift
19 lines
288 B
Swift
|
|
import SwiftUI
|
||
|
|
|
||
|
|
@main
|
||
|
|
struct PrivateChatAppleApp: App {
|
||
|
|
@State private var settings = SettingsStore()
|
||
|
|
|
||
|
|
var body: some Scene {
|
||
|
|
WindowGroup {
|
||
|
|
ContentView(settings: settings)
|
||
|
|
}
|
||
|
|
|
||
|
|
#if os(macOS)
|
||
|
|
Settings {
|
||
|
|
SettingsView(settings: settings)
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
}
|
||
|
|
}
|