Use generated UIColors everywhere. (#1405)

- Fix destructive buttons in the menu.
This commit is contained in:
Doug
2023-07-26 11:21:34 +01:00
committed by GitHub
parent ed68ed1c91
commit f2ffded87e
10 changed files with 37 additions and 17 deletions
@@ -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()