diff options
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 { |
