diff --git a/CHANGELOG.md b/CHANGELOG.md index dd4f9f563..01440544f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Add `minOriginY` to the initializer of `ReactionsOverlayView` for better UI customization [#793](https://github.com/GetStream/stream-chat-swiftui/pull/793) ### 🐞 Fixed - Fix draft not deleted when attachments are removed from the composer [#791](https://github.com/GetStream/stream-chat-swiftui/pull/791) +### 🔄 Changed +- Made `showErrorPopup` open in `ChatChannelListViewModel` [#794](https://github.com/GetStream/stream-chat-swiftui/pull/794) # [4.75.0](https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.75.0) _March 26, 2025_ diff --git a/Sources/StreamChatSwiftUI/ChatChannelList/ChatChannelListViewModel.swift b/Sources/StreamChatSwiftUI/ChatChannelList/ChatChannelListViewModel.swift index 96d2ef28d..5073afe48 100644 --- a/Sources/StreamChatSwiftUI/ChatChannelList/ChatChannelListViewModel.swift +++ b/Sources/StreamChatSwiftUI/ChatChannelList/ChatChannelListViewModel.swift @@ -222,7 +222,7 @@ open class ChatChannelListViewModel: ObservableObject, ChatChannelListController } } - public func showErrorPopup(_ error: Error?) { + open func showErrorPopup(_ error: Error?) { channelAlertType = .error }