Use expo-image-picker on Web (#847)
This commit is contained in:
parent
a67eaa6ace
commit
bdcdb4e4dc
6 changed files with 29 additions and 97 deletions
|
@ -147,7 +147,7 @@ export function UserAvatar({
|
|||
return
|
||||
}
|
||||
|
||||
const items = await openPicker(store, {
|
||||
const items = await openPicker({
|
||||
aspect: [1, 1],
|
||||
})
|
||||
const item = items[0]
|
||||
|
|
|
@ -55,7 +55,7 @@ export function UserBanner({
|
|||
if (!(await requestPhotoAccessIfNeeded())) {
|
||||
return
|
||||
}
|
||||
const items = await openPicker(store)
|
||||
const items = await openPicker()
|
||||
|
||||
onSelectNewBanner?.(
|
||||
await openCropper(store, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue