mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 20:39:24 +00:00
Use generated UIColors everywhere. (#1405)
- Fix destructive buttons in the menu.
This commit is contained in:
@@ -37,9 +37,7 @@ 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(named: "colorGray1400",
|
||||
in: Bundle(identifier: "CompoundDesignTokens-CompoundDesignTokens-resources"),
|
||||
compatibleWith: nil)
|
||||
window.tintColor = .compound.textActionPrimary
|
||||
}
|
||||
.task {
|
||||
appCoordinator.start()
|
||||
|
||||
Reference in New Issue
Block a user