Set the minimum for avatar size for click-to-view to 80

This commit is contained in:
Alvaro 2022-12-14 12:48:11 -07:00 committed by GitHub
parent f2f1c3c021
commit 6622cf72d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -161,7 +161,8 @@ export function Avatar({
assertDev(avatarPath, 'avatarPath should be defined here');
assertDev(
blur !== AvatarBlur.BlurPictureWithClickToView || size >= 100,
blur !== AvatarBlur.BlurPictureWithClickToView ||
size >= AvatarSize.EIGHTY,
'Rendering "click to view" for a small avatar. This may not render correctly'
);