Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ import UniformTypeIdentifiers
public struct FilePickerView: UIViewControllerRepresentable {
@Injected(\.chatClient) var client
@Binding var fileURLs: [URL]

public init(fileURLs: Binding<[URL]>) {
self._fileURLs = fileURLs
}

public func makeUIViewController(context: Context) -> UIDocumentPickerViewController {
let picker = UIDocumentPickerViewController(forOpeningContentTypes: openingContentTypes)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import StreamChat
import SwiftUI

struct AddedVoiceRecordingsView: View {
public struct AddedVoiceRecordingsView: View {
@Injected(\.colors) private var colors
@Injected(\.utils) private var utils

Expand Down
Loading