diff --git a/MoppApp/MoppApp/AppInfoCell.swift b/MoppApp/MoppApp/AppInfoCell.swift index 851e5cd7..4bf1da32 100644 --- a/MoppApp/MoppApp/AppInfoCell.swift +++ b/MoppApp/MoppApp/AppInfoCell.swift @@ -61,8 +61,8 @@ class AppInfoCell: UITableViewCell { let nsRange = NSRange(range, in: contactText) attributedString.addAttribute(.link, value: L(.infoAppContactLink), range: nsRange) + attributedString.addAttribute(NSAttributedString.Key.foregroundColor, value: UIColor.link, range: nsRange) attributedString.addAttribute(NSAttributedString.Key.underlineStyle, value: NSUnderlineStyle.single.rawValue, range: nsRange) - attributedString.addAttribute(NSAttributedString.Key.underlineColor, value: UIColor.blue, range: nsRange) } appContact.attributedText = attributedString diff --git a/MoppApp/MoppApp/LicensesCell.swift b/MoppApp/MoppApp/LicensesCell.swift index 5dbca863..020ddeee 100644 --- a/MoppApp/MoppApp/LicensesCell.swift +++ b/MoppApp/MoppApp/LicensesCell.swift @@ -39,10 +39,9 @@ class LicensesCell: UITableViewCell { url.textColor = .link if let urlText = url.text { let urlAttributedString = NSMutableAttributedString(string: urlText) + urlAttributedString.addAttribute(NSAttributedString.Key.foregroundColor, value: UIColor.link, range: NSRange(location: 0, length: urlAttributedString.length)) urlAttributedString.addAttribute(NSAttributedString.Key.underlineStyle, value: NSUnderlineStyle.single.rawValue, range: NSRange(location: 0, length: urlAttributedString.length)) - urlAttributedString.addAttribute(NSAttributedString.Key.underlineColor, value: UIColor.blue, range: NSRange(location: 0, length: urlAttributedString.length)) - url.attributedText = urlAttributedString let tapGesture = UITapGestureRecognizer(target: self, action: #selector(handleLinkTap(_:)))