summaryrefslogtreecommitdiffhomepage
path: root/ios
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2019-12-09 16:35:37 +0100
committerAndrej Mihajlov <and@mullvad.net>2019-12-10 11:14:56 +0100
commit4c908605b892fa6fdb9c5f273cb1106bc6b5d645 (patch)
tree645b004460e965d032e68e12ec51e7d71ab637a9 /ios
parentde7b23a3f9d90b43dc3575c011d081e928f2e5ac (diff)
downloadmullvadvpn-4c908605b892fa6fdb9c5f273cb1106bc6b5d645.tar.xz
mullvadvpn-4c908605b892fa6fdb9c5f273cb1106bc6b5d645.zip
Update title colors on custom buttons
Diffstat (limited to 'ios')
-rw-r--r--ios/MullvadVPN/CustomButton.swift4
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 {