File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Sources/StreamChatSwiftUI/ChatChannel/MessageList Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1515 - ` ChannelInfoDivider `
1616 - ` ChatInfoDirectChannelView `
1717 - ` ChatInfoParticipantsView `
18+ - Make ` MediaViewsOptions ` initializer public [ #899 ] ( https://github.com/GetStream/stream-chat-swiftui/pull/899 )
1819
1920# [ 4.82.0] ( https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.82.0 )
2021_ July 16, 2025_
Original file line number Diff line number Diff line change @@ -484,4 +484,8 @@ enum MediaAttachmentType {
484484public struct MediaViewsOptions {
485485 /// The index of the selected media item.
486486 public let selectedIndex : Int
487+
488+ public init ( selectedIndex: Int ) {
489+ self . selectedIndex = selectedIndex
490+ }
487491}
You can’t perform that action at this time.
0 commit comments