Use expo-image-picker on Web (#847)

This commit is contained in:
Logan Rosen
2023-06-06 10:38:58 -04:00
committed by GitHub
parent a67eaa6ace
commit bdcdb4e4dc
6 changed files with 29 additions and 97 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ export function UserAvatar({
return
}
const items = await openPicker(store, {
const items = await openPicker({
aspect: [1, 1],
})
const item = items[0]
+1 -1
View File
@@ -55,7 +55,7 @@ export function UserBanner({
if (!(await requestPhotoAccessIfNeeded())) {
return
}
const items = await openPicker(store)
const items = await openPicker()
onSelectNewBanner?.(
await openCropper(store, {