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/).
15
15
- ` ChannelInfoDivider `
16
16
- ` ChatInfoDirectChannelView `
17
17
- ` ChatInfoParticipantsView `
18
+ - Make ` MediaViewsOptions ` initializer public [ #899 ] ( https://github.com/GetStream/stream-chat-swiftui/pull/899 )
18
19
19
20
# [ 4.82.0] ( https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.82.0 )
20
21
_ July 16, 2025_
Original file line number Diff line number Diff line change @@ -484,4 +484,8 @@ enum MediaAttachmentType {
484
484
public struct MediaViewsOptions {
485
485
/// The index of the selected media item.
486
486
public let selectedIndex : Int
487
+
488
+ public init ( selectedIndex: Int ) {
489
+ self . selectedIndex = selectedIndex
490
+ }
487
491
}
You can’t perform that action at this time.
0 commit comments