Fix touches not reaching tableview cell on notification filters

This commit is contained in:
Marcus Kida 2024-07-30 13:54:09 +02:00
parent 25cd3b4815
commit 6471316d46
No known key found for this signature in database
GPG Key ID: 19FF64E08013CA40

View File

@ -53,7 +53,8 @@ class NotificationRequestTableViewCell: UITableViewCell {
labelStackView.axis = .vertical
labelStackView.alignment = .leading
labelStackView.spacing = 4
labelStackView.isUserInteractionEnabled = false
acceptNotificationRequestButton = HighlightDimmableButton()
acceptNotificationRequestButton.translatesAutoresizingMaskIntoConstraints = false
acceptNotificationRequestButton.titleLabel?.font = UIFont.systemFont(ofSize: 17, weight: .semibold)
@ -117,6 +118,7 @@ class NotificationRequestTableViewCell: UITableViewCell {
avatarStackView.axis = .horizontal
avatarStackView.alignment = .center
avatarStackView.spacing = 12
avatarStackView.isUserInteractionEnabled = false
contentStackView = UIStackView(arrangedSubviews: [avatarStackView, buttonStackView])
contentStackView.translatesAutoresizingMaskIntoConstraints = false