Fix text color in dark mode on post view
This commit is contained in:
@@ -14,7 +14,7 @@ struct TextViewWrapper: UIViewRepresentable {
|
|||||||
let textView = UITextView()
|
let textView = UITextView()
|
||||||
textView.delegate = context.coordinator
|
textView.delegate = context.coordinator
|
||||||
textView.font = UIFont.systemFont(ofSize: 18)
|
textView.font = UIFont.systemFont(ofSize: 18)
|
||||||
textView.textColor = UIColor.black
|
//textView.textColor = UIColor.black
|
||||||
let linkAttributes: [NSAttributedString.Key : Any] = [
|
let linkAttributes: [NSAttributedString.Key : Any] = [
|
||||||
NSAttributedString.Key.foregroundColor: UIColor(Color.accentColor)]
|
NSAttributedString.Key.foregroundColor: UIColor(Color.accentColor)]
|
||||||
textView.linkTextAttributes = linkAttributes
|
textView.linkTextAttributes = linkAttributes
|
||||||
|
|||||||
Reference in New Issue
Block a user