From b2b62828e36f5614916932bfa72125451adc4baa Mon Sep 17 00:00:00 2001 From: Bryan Montz Date: Tue, 7 Mar 2023 22:57:56 -0600 Subject: [PATCH] Fix unexpected font size on PostView Changelog-Fixed: Fix unexpected font size when posting Closes: #761 --- damus/Views/TextViewWrapper.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damus/Views/TextViewWrapper.swift b/damus/Views/TextViewWrapper.swift index 15d10c2a..c43c4e48 100644 --- a/damus/Views/TextViewWrapper.swift +++ b/damus/Views/TextViewWrapper.swift @@ -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)]