Skip to content

Commit

Permalink
Fix ImagePreview nested type for objc bridging header (#1363)
Browse files Browse the repository at this point in the history
* Fix ImagePreview nested type for objc bridging header

* Update CHANGELOG.md
  • Loading branch information
nuno-vieira authored Aug 11, 2021
1 parent c7c428f commit 8a4e196
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### 🐞 Fixed
- Fix jumps when presenting message popup actions in a modal [#1361](https://github.com/GetStream/stream-chat-swift/issues/1361)
- Fix custom Channel Types not allowing uppercase letters [#1361](https://github.com/GetStream/stream-chat-swift/issues/1361)
- Fix `ChatMessageGalleryView.ImagePreview` not compiling in Obj-c [#1363](https://github.com/GetStream/stream-chat-swift/pull/1363)

# [4.0.0-beta.10](https://github.com/GetStream/stream-chat-swift/releases/tag/4.0.0-beta.10)
_August 11, 2021_
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public protocol GalleryItemPreview {
}

extension ChatMessageGalleryView {
@objc(ChatMessageGalleryViewImagePreview)
open class ImagePreview: _View, ThemeProvider, GalleryItemPreview {
public var content: ChatMessageImageAttachment? {
didSet { updateContentIfNeeded() }
Expand Down

0 comments on commit 8a4e196

Please sign in to comment.