fix: update image picker media types
This commit is contained in:
@@ -48,7 +48,7 @@ export function useImageAttachmentPicker(): UseImageAttachmentPickerResult {
|
||||
}
|
||||
|
||||
const result = await ImagePicker.launchImageLibraryAsync({
|
||||
mediaTypes: ImagePicker.MediaTypeOptions.Images,
|
||||
mediaTypes: ["images"] as ImagePicker.MediaType[],
|
||||
allowsMultipleSelection: true,
|
||||
quality: 0.8,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user