mirror of https://github.com/tooot-app/app
Fix uploading avatar
This commit is contained in:
parent
1ebf732679
commit
869524eb84
|
@ -4,7 +4,7 @@
|
||||||
"native": "220603",
|
"native": "220603",
|
||||||
"major": 4,
|
"major": 4,
|
||||||
"minor": 1,
|
"minor": 1,
|
||||||
"patch": 4,
|
"patch": 5,
|
||||||
"expo": "45.0.0"
|
"expo": "45.0.0"
|
||||||
},
|
},
|
||||||
"description": "tooot app for Mastodon",
|
"description": "tooot app for Mastodon",
|
||||||
|
|
|
@ -150,7 +150,7 @@ const mediaSelector = async ({
|
||||||
for (const image of images) {
|
for (const image of images) {
|
||||||
const croppedImage = await ImagePicker.openCropper({
|
const croppedImage = await ImagePicker.openCropper({
|
||||||
mediaType: 'photo',
|
mediaType: 'photo',
|
||||||
path: image.path,
|
path: image.sourceURL || image.path,
|
||||||
width: resize.width,
|
width: resize.width,
|
||||||
height: resize.height,
|
height: resize.height,
|
||||||
cropperChooseText: i18next.t('common:buttons.apply'),
|
cropperChooseText: i18next.t('common:buttons.apply'),
|
||||||
|
|
Loading…
Reference in New Issue