Skip to content

Commit da9a7db

Browse files
Made the image method in channel header loader open (#595)
1 parent 642662f commit da9a7db

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
55

66
### 🔄 Changed
77
- Improved subtitle info in pinned messages view [#594](https://github.com/GetStream/stream-chat-swiftui/pull/594)
8+
- The `image(for channel: ChatChannel)` in `ChannelHeaderLoader` is now open [#595](https://github.com/GetStream/stream-chat-swiftui/pull/595)
89

910
### 🐞 Fixed
1011
- Typing users did not update reliably in the message list [#591](https://github.com/GetStream/stream-chat-swiftui/pull/591)

Sources/StreamChatSwiftUI/ChatChannelList/ChannelHeaderLoader.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ open class ChannelHeaderLoader: ObservableObject {
4444
/// If the image is not downloaded, placeholder is returned.
4545
/// - Parameter channel: the provided channel.
4646
/// - Returns: the available image.
47-
public func image(for channel: ChatChannel) -> UIImage {
47+
open func image(for channel: ChatChannel) -> UIImage {
4848
if let image = loadedImages[channel.cid] {
4949
return image
5050
}

0 commit comments

Comments
 (0)