diff --git a/SetForm.tsx b/SetForm.tsx index 507303d..81135eb 100644 --- a/SetForm.tsx +++ b/SetForm.tsx @@ -74,7 +74,7 @@ export default function SetForm({ const changeImage = useCallback(async () => { const {fileCopyUri} = await DocumentPicker.pickSingle({ - type: 'image/*', + type: DocumentPicker.types.images, copyTo: 'documentDirectory', }) if (fileCopyUri) setNewImage(fileCopyUri)