fmodf
b3b3b3aef7
Reviewed-on: narayana/conversations-classic-ios#1 Co-authored-by: fmodf <fmodf.ios@gmail.com> Co-committed-by: fmodf <fmodf.ios@gmail.com>
22 lines
629 B
Swift
22 lines
629 B
Swift
import Combine
|
|
import SwiftUI
|
|
|
|
@main
|
|
@MainActor
|
|
struct ConversationsClassic: App {
|
|
private let clientsStore = ClientsStore.shared
|
|
|
|
init() {
|
|
// There's a bug on iOS 17 where sheet may not load with large title, even if modifiers are set, which causes some tests to fail
|
|
// https://stackoverflow.com/questions/77253122/swiftui-navigationstack-title-loads-inline-instead-of-large-when-sheet-is-pres
|
|
UINavigationBar.appearance().prefersLargeTitles = true
|
|
}
|
|
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
RootView()
|
|
.environmentObject(clientsStore)
|
|
}
|
|
}
|
|
}
|