Use expo-image-picker on Web (#847)
This commit is contained in:
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user