damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit e4dd585754fa2d64bcde83c014c1468dfb05e361
parent 436d20dfbde7f90c6052db2f078d7b65d9ea3cc9
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 24 Feb 2023 15:10:58 -0800

Fix text color in dark mode on post view

Diffstat:
Mdamus/Views/TextViewWrapper.swift | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/damus/Views/TextViewWrapper.swift b/damus/Views/TextViewWrapper.swift @@ -9,12 +9,12 @@ import SwiftUI struct TextViewWrapper: UIViewRepresentable { @Binding var attributedText: NSMutableAttributedString - + func makeUIView(context: Context) -> UITextView { let textView = UITextView() textView.delegate = context.coordinator textView.font = UIFont.systemFont(ofSize: 18) - textView.textColor = UIColor.black + //textView.textColor = UIColor.black let linkAttributes: [NSAttributedString.Key : Any] = [ NSAttributedString.Key.foregroundColor: UIColor(Color.accentColor)] textView.linkTextAttributes = linkAttributes