1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

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

@ -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'),