File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Sources/StreamChatSwiftUI/ChatChannel/Gallery Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import StreamChat
6
6
import SwiftUI
7
7
8
8
/// View used for displaying image attachments in a gallery.
9
- struct GalleryView : View {
9
+ public struct GalleryView : View {
10
10
11
11
@Environment ( \. presentationMode) var presentationMode
12
12
@@ -21,7 +21,7 @@ struct GalleryView: View {
21
21
@State private var loadedImages = [ Int: UIImage] ( )
22
22
@State private var gridShown = false
23
23
24
- init (
24
+ public init (
25
25
imageAttachments: [ ChatMessageImageAttachment ] ,
26
26
author: ChatUser ,
27
27
isShown: Binding < Bool > ,
@@ -33,7 +33,7 @@ struct GalleryView: View {
33
33
_selected = State ( initialValue: selected)
34
34
}
35
35
36
- var body : some View {
36
+ public var body : some View {
37
37
GeometryReader { reader in
38
38
VStack {
39
39
GalleryHeaderView (
You can’t perform that action at this time.
0 commit comments