Fix avatars in follow request notification not being rounded

Closes #448
This commit is contained in:
Shadowfacts 2023-11-18 11:00:19 -05:00
parent 6d3ffd7dd3
commit 4e98e569eb
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ class FollowRequestNotificationCollectionViewCell: UICollectionViewListCell {
$0.contentMode = .scaleAspectFill
$0.layer.masksToBounds = true
$0.layer.cornerCurve = .continuous
$0.layer.cornerRadius = Preferences.shared.avatarStyle.cornerRadiusFraction * 30
NSLayoutConstraint.activate([
$0.widthAnchor.constraint(equalTo: $0.heightAnchor),
])