Fix user avatar and banner selector on web (#490)
This commit is contained in:
@@ -79,7 +79,10 @@ export function UserAvatar({
|
||||
if (!(await requestPhotoAccessIfNeeded())) {
|
||||
return
|
||||
}
|
||||
const items = await openPicker(store)
|
||||
const items = await openPicker(store, {
|
||||
mediaType: 'photo',
|
||||
multiple: false,
|
||||
})
|
||||
|
||||
onSelectNewAvatar?.(
|
||||
await openCropper(store, {
|
||||
|
||||
Reference in New Issue
Block a user