Fix ColorScheme

This commit is contained in:
Kylmakalle
2025-02-07 11:33:50 +02:00
parent 3b71399019
commit 02eebc19ca
2 changed files with 14 additions and 33 deletions

View File

@@ -2380,9 +2380,8 @@ extension MessageInputPanelComponent.View {
onClearFormatting: { [weak self] in
guard let _ = self else { return }
NotificationCenter.default.post(name: notificationName, object: nil, userInfo: ["action": "clearFormatting"])
},
preferredColorScheme: .dark
)
}
).colorScheme(.dark)
let toolbarHostingController = UIHostingController(rootView: toolbar)
toolbarHostingController.view.backgroundColor = .clear