From d0f86915607662307c3ef84ac11af38701d19d48 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Wed, 9 Nov 2022 17:20:56 -0500 Subject: [PATCH] Fix draft cells become untappably small --- Tusker/Views/Draft Cell/DraftTableViewCell.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tusker/Views/Draft Cell/DraftTableViewCell.swift b/Tusker/Views/Draft Cell/DraftTableViewCell.swift index 896466e417..3407ffccee 100644 --- a/Tusker/Views/Draft Cell/DraftTableViewCell.swift +++ b/Tusker/Views/Draft Cell/DraftTableViewCell.swift @@ -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 }