diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2023-04-27 18:00:49 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2023-04-28 13:52:57 +0200 |
| commit | edba96b4dafb0f07034086e7c280227d40342bbe (patch) | |
| tree | d8a9951fa2f4651d4b9ca0db2660387fdefa84ff | |
| parent | f336f681548798ec08ea650b107b15fa1af27d10 (diff) | |
| download | mullvadvpn-edba96b4dafb0f07034086e7c280227d40342bbe.tar.xz mullvadvpn-edba96b4dafb0f07034086e7c280227d40342bbe.zip | |
Set tint color for action button
| -rw-r--r-- | ios/MullvadVPN/Notifications/UI/NotificationBannerView.swift | 3 | ||||
| -rw-r--r-- | ios/MullvadVPN/UI appearance/UIColor+Palette.swift | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ios/MullvadVPN/Notifications/UI/NotificationBannerView.swift b/ios/MullvadVPN/Notifications/UI/NotificationBannerView.swift index 82fa7a7001..776195a85c 100644 --- a/ios/MullvadVPN/Notifications/UI/NotificationBannerView.swift +++ b/ios/MullvadVPN/Notifications/UI/NotificationBannerView.swift @@ -64,7 +64,8 @@ final class NotificationBannerView: UIView { }() private let actionButton: UIButton = { - let button = UIButton() + let button = UIButton(type: .system) + button.tintColor = UIColor.InAppNotificationBanner.actionButtonColor button.translatesAutoresizingMaskIntoConstraints = false return button }() diff --git a/ios/MullvadVPN/UI appearance/UIColor+Palette.swift b/ios/MullvadVPN/UI appearance/UIColor+Palette.swift index de2472680a..aff21edac2 100644 --- a/ios/MullvadVPN/UI appearance/UIColor+Palette.swift +++ b/ios/MullvadVPN/UI appearance/UIColor+Palette.swift @@ -118,6 +118,7 @@ extension UIColor { static let titleColor = UIColor.white static let bodyColor = UIColor(white: 1.0, alpha: 0.6) + static let actionButtonColor = UIColor(white: 1.0, alpha: 0.6) } // Common colors |
