Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 0d91a8d

Browse files
committed
Update reivewGitHUbAccessBtn constraints
1 parent 80d1255 commit 0d91a8d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Classes/Notifications/NoNewNotificationsCell.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ final class NoNewNotificationsCell: UICollectionViewCell {
4646
messageLabel.snp.makeConstraints { make in
4747
make.centerX.equalTo(emojiLabel)
4848
make.top.equalTo(emojiLabel.snp.bottom).offset(Styles.Sizes.tableSectionSpacing)
49+
make.height.greaterThanOrEqualTo(messageLabel.font.pointSize)
4950
}
5051

5152
resetAnimations()
@@ -77,7 +78,9 @@ final class NoNewNotificationsCell: UICollectionViewCell {
7778
make.centerX.equalTo(messageLabel)
7879
make.width.equalTo(buttonWidth)
7980
make.height.equalTo(buttonHeight)
80-
make.bottom.equalTo(contentView.snp.bottom).offset(-Styles.Sizes.tableSectionSpacing)
81+
make.top.greaterThanOrEqualTo(messageLabel.snp.bottom)
82+
make.bottom.equalTo(contentView.snp.bottom).offset(-Styles.Sizes.tableSectionSpacing).priority(.low)
83+
make.bottom.lessThanOrEqualTo(contentView.snp.bottom)
8184
}
8285

8386
}

0 commit comments

Comments
 (0)