Fix audio type on document picker
This commit is contained in:
parent
d1342c0efa
commit
2fb46e1dcc
|
@ -65,7 +65,7 @@ export default function SettingsPage() {
|
|||
|
||||
const changeSound = useCallback(async () => {
|
||||
const {fileCopyUri} = await DocumentPicker.pickSingle({
|
||||
type: 'audio/*',
|
||||
type: DocumentPicker.types.audio,
|
||||
copyTo: 'documentDirectory',
|
||||
})
|
||||
if (!fileCopyUri) return
|
||||
|
|
Loading…
Reference in New Issue
Block a user