diff --git a/damus/Views/Posting/UserSearch.swift b/damus/Views/Posting/UserSearch.swift index c8b21468..072857db 100644 --- a/damus/Views/Posting/UserSearch.swift +++ b/damus/Views/Posting/UserSearch.swift @@ -55,6 +55,7 @@ struct UserSearch: View { attributes: [NSAttributedString.Key.font: UIFont.systemFont(ofSize: 18.0), NSAttributedString.Key.link: "@\(pk)"]) tagAttributedString.removeAttribute(.link, range: NSRange(location: tagAttributedString.length - 2, length: 2)) + tagAttributedString.addAttributes([NSAttributedString.Key.foregroundColor: UIColor.label], range: NSRange(location: tagAttributedString.length - 2, length: 2)) let mutableString = NSMutableAttributedString() mutableString.append(post) mutableString.append(tagAttributedString) diff --git a/damus/Views/TextViewWrapper.swift b/damus/Views/TextViewWrapper.swift index e29c8b50..15d10c2a 100644 --- a/damus/Views/TextViewWrapper.swift +++ b/damus/Views/TextViewWrapper.swift @@ -14,7 +14,7 @@ struct TextViewWrapper: UIViewRepresentable { let textView = UITextView() textView.delegate = context.coordinator textView.font = UIFont.systemFont(ofSize: 18) - //textView.textColor = UIColor.black + textView.textColor = UIColor.label let linkAttributes: [NSAttributedString.Key : Any] = [ NSAttributedString.Key.foregroundColor: UIColor(Color.accentColor)] textView.linkTextAttributes = linkAttributes