Fix draft cells become untappably small
This commit is contained in:
parent
9a43ab5a13
commit
d0f8691560
|
@ -20,6 +20,8 @@ class DraftTableViewCell: UITableViewCell {
|
||||||
override func awakeFromNib() {
|
override func awakeFromNib() {
|
||||||
super.awakeFromNib()
|
super.awakeFromNib()
|
||||||
|
|
||||||
|
contentView.heightAnchor.constraint(greaterThanOrEqualToConstant: 44).isActive = true
|
||||||
|
|
||||||
contentWarningLabel.font = UIFontMetrics(forTextStyle: .body).scaledFont(for: .systemFont(ofSize: 15, weight: .bold))
|
contentWarningLabel.font = UIFontMetrics(forTextStyle: .body).scaledFont(for: .systemFont(ofSize: 15, weight: .bold))
|
||||||
contentWarningLabel.adjustsFontForContentSizeCategory = true
|
contentWarningLabel.adjustsFontForContentSizeCategory = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue