From 4e98e569eb392eb0a5024147b8c10b5674906fa8 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sat, 18 Nov 2023 11:00:19 -0500 Subject: [PATCH] Fix avatars in follow request notification not being rounded Closes #448 --- .../FollowRequestNotificationCollectionViewCell.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Tusker/Screens/Notifications/FollowRequestNotificationCollectionViewCell.swift b/Tusker/Screens/Notifications/FollowRequestNotificationCollectionViewCell.swift index 1dc17197..09165ddf 100644 --- a/Tusker/Screens/Notifications/FollowRequestNotificationCollectionViewCell.swift +++ b/Tusker/Screens/Notifications/FollowRequestNotificationCollectionViewCell.swift @@ -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), ])