diff --git a/Packages/Status/Sources/Status/Editor/Components/StatusEditorCameraPickerView.swift b/Packages/Status/Sources/Status/Editor/Components/StatusEditorCameraPickerView.swift index f5a558d7..6f89b0ce 100644 --- a/Packages/Status/Sources/Status/Editor/Components/StatusEditorCameraPickerView.swift +++ b/Packages/Status/Sources/Status/Editor/Components/StatusEditorCameraPickerView.swift @@ -22,6 +22,7 @@ struct StatusEditorCameraPickerView: UIViewControllerRepresentable { func makeUIViewController(context: Context) -> UIImagePickerController { let imagePicker = UIImagePickerController() imagePicker.sourceType = .camera + imagePicker.delegate = context.coordinator return imagePicker } diff --git a/Packages/Status/Sources/Status/Editor/StatusEditorViewModel.swift b/Packages/Status/Sources/Status/Editor/StatusEditorViewModel.swift index 53af3601..8c15fe72 100644 --- a/Packages/Status/Sources/Status/Editor/StatusEditorViewModel.swift +++ b/Packages/Status/Sources/Status/Editor/StatusEditorViewModel.swift @@ -378,6 +378,7 @@ public class StatusEditorViewModel: NSObject, ObservableObject { gifTransferable: nil, mediaAttachment: nil, error: nil)) + processMediasToUpload() } private func processItemsProvider(items: [NSItemProvider]) {