This commit is contained in:
Mauro Romito
2023-09-18 13:34:16 +02:00
committed by Mauro
parent 8ec68280b9
commit f53e76b8a8
@@ -46,7 +46,7 @@ struct MessageText: UIViewRepresentable {
textView.contentInsetAdjustmentBehavior = .never
textView.textContainerInset = .zero
textView.textContainer.lineFragmentPadding = 0
textView.layoutManager.usesFontLeading = false
textView.textLayoutManager?.usesFontLeading = false
textView.backgroundColor = .clear
textView.attributedText = NSAttributedString(attributedString)
textView.delegate = context.coordinator