File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
Sources/StreamChatSwiftUI/ChatChannel/MessageList Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66### ✅ Added
77- Added factory method for customizing the message list container's modifier
88- Option to customize the date separation logic in the message list
9+ - Public init for ` LinkAttachmentContainer `
910
1011# [ 4.33.0] ( https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.33.0 )
1112_ June 09, 2023_
Original file line number Diff line number Diff line change @@ -20,6 +20,20 @@ public struct LinkAttachmentContainer<Factory: ViewFactory>: View {
2020 @Binding var scrolledId : String ?
2121
2222 private let padding : CGFloat = 8
23+
24+ public init (
25+ factory: Factory ,
26+ message: ChatMessage ,
27+ width: CGFloat ,
28+ isFirst: Bool ,
29+ scrolledId: Binding < String ? >
30+ ) {
31+ self . factory = factory
32+ self . message = message
33+ self . width = width
34+ self . isFirst = isFirst
35+ _scrolledId = scrolledId
36+ }
2337
2438 public var body : some View {
2539 VStack (
You can’t perform that action at this time.
0 commit comments