Fix long content warnings getting truncated in new status cells

Closes #185
This commit is contained in:
Shadowfacts 2022-10-11 17:04:31 -04:00
parent ffb0ceba20
commit d224f47b8c
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ class TimelineStatusCollectionViewCell: UICollectionViewListCell, StatusCollecti
} }
private(set) lazy var contentWarningLabel = EmojiLabel().configure { private(set) lazy var contentWarningLabel = EmojiLabel().configure {
$0.numberOfLines = 0
$0.textColor = .secondaryLabel $0.textColor = .secondaryLabel
$0.font = UIFont(descriptor: .preferredFontDescriptor(withTextStyle: .body).addingAttributes([ $0.font = UIFont(descriptor: .preferredFontDescriptor(withTextStyle: .body).addingAttributes([
.traits: [ .traits: [