Fix draft cells become untappably small

This commit is contained in:
Shadowfacts 2022-11-09 17:20:56 -05:00
parent 9a43ab5a13
commit d0f8691560
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ class DraftTableViewCell: UITableViewCell {
override func awakeFromNib() {
super.awakeFromNib()
contentView.heightAnchor.constraint(greaterThanOrEqualToConstant: 44).isActive = true
contentWarningLabel.font = UIFontMetrics(forTextStyle: .body).scaledFont(for: .systemFont(ofSize: 15, weight: .bold))
contentWarningLabel.adjustsFontForContentSizeCategory = true
}