diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2019-12-09 16:35:37 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2019-12-10 11:14:56 +0100 |
| commit | 4c908605b892fa6fdb9c5f273cb1106bc6b5d645 (patch) | |
| tree | 645b004460e965d032e68e12ec51e7d71ab637a9 /ios | |
| parent | de7b23a3f9d90b43dc3575c011d081e928f2e5ac (diff) | |
| download | mullvadvpn-4c908605b892fa6fdb9c5f273cb1106bc6b5d645.tar.xz mullvadvpn-4c908605b892fa6fdb9c5f273cb1106bc6b5d645.zip | |
Update title colors on custom buttons
Diffstat (limited to 'ios')
| -rw-r--r-- | ios/MullvadVPN/CustomButton.swift | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ios/MullvadVPN/CustomButton.swift b/ios/MullvadVPN/CustomButton.swift index 119403c91c..fa4c867cc9 100644 --- a/ios/MullvadVPN/CustomButton.swift +++ b/ios/MullvadVPN/CustomButton.swift @@ -43,7 +43,9 @@ import UIKit contentEdgeInsets = contentInsets titleLabel?.font = UIFont.systemFont(ofSize: 17, weight: .semibold) - titleLabel?.textColor = UIColor.white + + setTitleColor(UIColor.white, for: .normal) + setTitleColor(UIColor.lightGray, for: .highlighted) } override func imageRect(forContentRect contentRect: CGRect) -> CGRect { |
