Skip to content

Commit

Permalink
Update PHPicker.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuzukihashi committed May 18, 2024
1 parent 1a29207 commit 30eed81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/ImagePickerSwiftUI/PHPicker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ public struct PHPicker: UIViewControllerRepresentable {
continuation.resume(returning: fileURL)
}
}

continuation.resume(throwing: ImagePickerError.missingImage)
}
}

Expand Down

0 comments on commit 30eed81

Please sign in to comment.