Initial commit
This commit is contained in:
18
apple-client/Sources/App/PrivateChatAppleApp.swift
Normal file
18
apple-client/Sources/App/PrivateChatAppleApp.swift
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user