We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 937da68 commit e954494Copy full SHA for e954494
Sources/StreamChatSwiftUI/ChatThreadList/ChatThreadListErrorBannerView.swift
@@ -11,6 +11,10 @@ public struct ChatThreadListErrorBannerView: View {
11
12
let action: () -> Void
13
14
+ public init(action: @escaping () -> Void) {
15
+ self.action = action
16
+ }
17
+
18
public var body: some View {
19
ActionBannerView(
20
text: L10n.Thread.Error.message,
Sources/StreamChatSwiftUI/ChatThreadList/ChatThreadListFooterView.swift
@@ -8,7 +8,7 @@ import SwiftUI
8
public struct ChatThreadListFooterView: View {
9
@ObservedObject private var viewModel: ChatThreadListViewModel
10
- init(
+ public init(
viewModel: ChatThreadListViewModel
) {
self.viewModel = viewModel
0 commit comments