From 081ef16e5e977bd34c8d7129e257e092d214dd6e Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sat, 10 Dec 2022 19:41:45 -0500 Subject: [PATCH] Fix My Profile item in sidebar not updating when avatar style changes Closes #298 --- .../Screens/Main/MainSidebarMyProfileCollectionViewCell.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tusker/Screens/Main/MainSidebarMyProfileCollectionViewCell.swift b/Tusker/Screens/Main/MainSidebarMyProfileCollectionViewCell.swift index 8eff2cbbbb..dd7e5961ef 100644 --- a/Tusker/Screens/Main/MainSidebarMyProfileCollectionViewCell.swift +++ b/Tusker/Screens/Main/MainSidebarMyProfileCollectionViewCell.swift @@ -80,7 +80,7 @@ class MainSidebarMyProfileCollectionViewCell: UICollectionViewListCell { return } config.imageProperties.cornerRadius = Preferences.shared.avatarStyle.cornerRadiusFraction * avatarImageSize - self.contentConfiguration = contentConfiguration + self.contentConfiguration = config } }