mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Fix tint colour in dark mode. (#1376)
This commit is contained in:
@@ -37,7 +37,9 @@ struct Application: App {
|
||||
.statusBarHidden(shouldHideStatusBar)
|
||||
.introspect(.window, on: .iOS(.v16)) { window in
|
||||
// Workaround for SwiftUI not consistently applying the tint colour to Alerts/Confirmation Dialogs.
|
||||
window.tintColor = UIColor(Color.compound.textActionPrimary)
|
||||
window.tintColor = UIColor(named: "colorGray1400",
|
||||
in: Bundle(identifier: "CompoundDesignTokens-CompoundDesignTokens-resources"),
|
||||
compatibleWith: nil)
|
||||
}
|
||||
.task {
|
||||
appCoordinator.start()
|
||||
|
||||
Reference in New Issue
Block a user