Fix reblog labels in new cells not being tappable

Closes #197
This commit is contained in:
Shadowfacts 2022-10-28 18:48:30 -04:00
parent cccde29e6c
commit 2801f65e67
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ class TimelineStatusCollectionViewCell: UICollectionViewListCell, StatusCollecti
$0.textColor = .secondaryLabel
// this needs to have a higher priorty than the content container's zero height constraint
$0.setContentHuggingPriority(.defaultHigh, for: .vertical)
$0.isUserInteractionEnabled = true
$0.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(reblogLabelPressed)))
}