ios: pin Sybil navigation theme

This commit is contained in:
2026-05-02 17:10:32 -07:00
parent cafe4bb9ae
commit 90278020f5
5 changed files with 31 additions and 5 deletions
@@ -4,8 +4,9 @@ public struct SplitView: View {
@State private var viewModel = SybilViewModel()
@Environment(\.horizontalSizeClass) private var horizontalSizeClass
public init() {
@MainActor public init() {
SybilFontRegistry.registerIfNeeded()
SybilTheme.applySystemAppearance()
}
public var body: some View {
@@ -33,6 +34,7 @@ public struct SplitView: View {
}
}
.font(.sybil(.body))
.preferredColorScheme(.dark)
.task {
await viewModel.bootstrap()
}