Skip to content

Commit 2d0adf6

Browse files
Exposed GalleryView as public
1 parent caca894 commit 2d0adf6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/StreamChatSwiftUI/ChatChannel/Gallery/GalleryView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import StreamChat
66
import SwiftUI
77

88
/// View used for displaying image attachments in a gallery.
9-
struct GalleryView: View {
9+
public struct GalleryView: View {
1010

1111
@Environment(\.presentationMode) var presentationMode
1212

@@ -21,7 +21,7 @@ struct GalleryView: View {
2121
@State private var loadedImages = [Int: UIImage]()
2222
@State private var gridShown = false
2323

24-
init(
24+
public init(
2525
imageAttachments: [ChatMessageImageAttachment],
2626
author: ChatUser,
2727
isShown: Binding<Bool>,
@@ -33,7 +33,7 @@ struct GalleryView: View {
3333
_selected = State(initialValue: selected)
3434
}
3535

36-
var body: some View {
36+
public var body: some View {
3737
GeometryReader { reader in
3838
VStack {
3939
GalleryHeaderView(

0 commit comments

Comments
 (0)