Merge pull request #777 from mastodon/IOS-32_Fix_Paragraph_Margins

IOS-32: Fix paragraph margins in compose
This commit is contained in:
Nathan Mattes 2022-12-16 16:18:35 +01:00 committed by GitHub
commit 7cfadaee3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,8 @@ public struct MetaTextViewRepresentable: UIViewRepresentable {
.foregroundColor: Asset.Colors.brand.color,
]
metaText.paragraphStyle = NSMutableParagraphStyle()
configurationHandler(metaText)
metaText.configure(content: PlaintextMetaContent(string: string))