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/).
6
6
### ✅ Added
7
7
- Added factory method for customizing the message list container's modifier
8
8
- Option to customize the date separation logic in the message list
9
+ - Public init for ` LinkAttachmentContainer `
9
10
10
11
# [ 4.33.0] ( https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.33.0 )
11
12
_ June 09, 2023_
Original file line number Diff line number Diff line change @@ -20,6 +20,20 @@ public struct LinkAttachmentContainer<Factory: ViewFactory>: View {
20
20
@Binding var scrolledId : String ?
21
21
22
22
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
+ }
23
37
24
38
public var body : some View {
25
39
VStack (
You can’t perform that action at this time.
0 commit comments