diff --git a/CHANGELOG.md b/CHANGELOG.md index 476a66c378e..3d436f6571f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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_ diff --git a/Sources/StreamChatUI/ChatMessageList/Attachments/ChatMessageImageGallery+ImagePreview.swift b/Sources/StreamChatUI/ChatMessageList/Attachments/ChatMessageImageGallery+ImagePreview.swift index 1d4c77730d2..dc433f26dde 100644 --- a/Sources/StreamChatUI/ChatMessageList/Attachments/ChatMessageImageGallery+ImagePreview.swift +++ b/Sources/StreamChatUI/ChatMessageList/Attachments/ChatMessageImageGallery+ImagePreview.swift @@ -16,6 +16,7 @@ public protocol GalleryItemPreview { } extension ChatMessageGalleryView { + @objc(ChatMessageGalleryViewImagePreview) open class ImagePreview: _View, ThemeProvider, GalleryItemPreview { public var content: ChatMessageImageAttachment? { didSet { updateContentIfNeeded() }