Skip to content

Commit 8741782

Browse files
Made showErrorPopup open in ChatChannelListViewModel (#794)
1 parent 647e136 commit 8741782

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
77
- Add `minOriginY` to the initializer of `ReactionsOverlayView` for better UI customization [#793](https://github.com/GetStream/stream-chat-swiftui/pull/793)
88
### 🐞 Fixed
99
- Fix draft not deleted when attachments are removed from the composer [#791](https://github.com/GetStream/stream-chat-swiftui/pull/791)
10+
### 🔄 Changed
11+
- Made `showErrorPopup` open in `ChatChannelListViewModel` [#794](https://github.com/GetStream/stream-chat-swiftui/pull/794)
1012

1113
# [4.75.0](https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.75.0)
1214
_March 26, 2025_

Sources/StreamChatSwiftUI/ChatChannelList/ChatChannelListViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ open class ChatChannelListViewModel: ObservableObject, ChatChannelListController
222222
}
223223
}
224224

225-
public func showErrorPopup(_ error: Error?) {
225+
open func showErrorPopup(_ error: Error?) {
226226
channelAlertType = .error
227227
}
228228

0 commit comments

Comments
 (0)