Skip to content

Commit

Permalink
Updated CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmitrevski committed Jun 26, 2024
1 parent 076c2b7 commit 9a3fa46
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

### 🔄 Changed
- Show inline alert banner when encountering a failure while interacting with polls [#504](https://github.com/GetStream/stream-chat-swiftui/pull/504)
- Grouping image and video attachments in the same message [#525](https://github.com/GetStream/stream-chat-swiftui/pull/525)

# [4.57.0](https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.57.0)
_June 07, 2024_
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// Copyright © 2024 Stream.io Inc. All rights reserved.
//

import AVKit
import StreamChat
import SwiftUI
import AVKit

/// View used for displaying image attachments in a gallery.
public struct GalleryView: View {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public struct ImageAttachmentContainer<Factory: ViewFactory>: View {
spacing: 0
) {
ImageAttachmentView(
message: message,
message: message,
sources: sources,
width: width
) { index in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public struct MessageView<Factory: ViewFactory>: View {
)
}

if messageTypeResolver.hasVideoAttachment(message: message)
if messageTypeResolver.hasVideoAttachment(message: message)
&& !messageTypeResolver.hasImageAttachment(message: message) {
factory.makeVideoAttachmentView(
for: message,
Expand Down

0 comments on commit 9a3fa46

Please sign in to comment.