Fix unexpected font size on PostView

Changelog-Fixed: Fix unexpected font size when posting
Closes: #761
This commit is contained in:
Bryan Montz
2023-03-07 22:57:56 -06:00
committed by William Casarin
parent d1a77891c7
commit b2b62828e3

View File

@@ -13,7 +13,7 @@ struct TextViewWrapper: UIViewRepresentable {
func makeUIView(context: Context) -> UITextView {
let textView = UITextView()
textView.delegate = context.coordinator
textView.font = UIFont.systemFont(ofSize: 18)
textView.font = UIFont.preferredFont(forTextStyle: .body)
textView.textColor = UIColor.label
let linkAttributes: [NSAttributedString.Key : Any] = [
NSAttributedString.Key.foregroundColor: UIColor(Color.accentColor)]