mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-24 23:45:18 +00:00
17 lines
372 B
Swift
17 lines
372 B
Swift
import SwiftUI
|
|
|
|
@main
|
|
struct BitchatApp: App {
|
|
@StateObject private var chatViewModel = ChatViewModel()
|
|
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
ContentView()
|
|
.environmentObject(chatViewModel)
|
|
}
|
|
#if os(macOS)
|
|
.windowStyle(.hiddenTitleBar)
|
|
.windowResizability(.contentSize)
|
|
#endif
|
|
}
|
|
} |