mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-02-02 18:36:44 +01:00
Allow content warning descriptions to be on multiple lines
This commit is contained in:
parent
081c900069
commit
8e7bdd4aec
@ -66,7 +66,9 @@ extension MetaLabel {
|
||||
textColor = Asset.Colors.Label.primary.color
|
||||
textAlignment = .center
|
||||
paragraphStyle.alignment = .center
|
||||
|
||||
numberOfLines = 0
|
||||
textContainer.maximumNumberOfLines = 0
|
||||
|
||||
case .statusSpoilerBanner:
|
||||
font = UIFontMetrics(forTextStyle: .headline).scaledFont(for: .systemFont(ofSize: 17, weight: .regular))
|
||||
textColor = Asset.Colors.Label.primary.color
|
||||
|
Loading…
x
Reference in New Issue
Block a user