File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Sources/StreamChatSwiftUI/ChatChannelList Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
5
5
6
6
### 🔄 Changed
7
7
- Video and giphy attachments now use ` makeMessageViewModifier `
8
+ - Updated scalling of avatar images
8
9
9
10
# [ 4.34.0] ( https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.34.0 )
10
11
_ July 06, 2023_
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ public class ChannelAvatarsMerger: ChannelAvatarsMerging {
40
40
41
41
var combinedImage : UIImage ?
42
42
43
- let avatarImages = avatars. map {
44
- imageProcessor. scale ( image: $0, to: . avatarThumbnailSize)
43
+ let avatarImages = avatars. compactMap { [ weak self ] in
44
+ self ? . imageProcessor. scale ( image: $0, to: . avatarThumbnailSize)
45
45
}
46
46
47
47
// The half of the width of the avatar
You can’t perform that action at this time.
0 commit comments