Fix uploading avatar

This commit is contained in:
Zhiyuan Zheng 2022-06-21 23:05:29 +02:00
parent 1ebf732679
commit 869524eb84
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
"native": "220603",
"major": 4,
"minor": 1,
"patch": 4,
"patch": 5,
"expo": "45.0.0"
},
"description": "tooot app for Mastodon",

View File

@ -150,7 +150,7 @@ const mediaSelector = async ({
for (const image of images) {
const croppedImage = await ImagePicker.openCropper({
mediaType: 'photo',
path: image.path,
path: image.sourceURL || image.path,
width: resize.width,
height: resize.height,
cropperChooseText: i18next.t('common:buttons.apply'),