Skip to content

Commit 715e012

Browse files
Made ChannelsLazyVStack public
1 parent 81ccd20 commit 715e012

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/StreamChatSwiftUI/ChatChannelList/ChatChannelList.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public struct ChannelList<Factory: ViewFactory>: View {
9090
}
9191

9292
/// LazyVStack displaying list of channels.
93-
struct ChannelsLazyVStack<Factory: ViewFactory>: View {
93+
public struct ChannelsLazyVStack<Factory: ViewFactory>: View {
9494

9595
private var factory: Factory
9696
var channels: LazyCachedMapCollection<ChatChannel>
@@ -106,7 +106,7 @@ struct ChannelsLazyVStack<Factory: ViewFactory>: View {
106106
private var trailingSwipeLeftButtonTapped: (ChatChannel) -> Void
107107
private var leadingSwipeButtonTapped: (ChatChannel) -> Void
108108

109-
init(
109+
public init(
110110
factory: Factory,
111111
channels: LazyCachedMapCollection<ChatChannel>,
112112
selectedChannel: Binding<ChannelSelectionInfo?>,

0 commit comments

Comments
 (0)