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

View File

@@ -161,7 +161,8 @@ export function Avatar({
assertDev(avatarPath, 'avatarPath should be defined here'); assertDev(avatarPath, 'avatarPath should be defined here');
assertDev( 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' 'Rendering "click to view" for a small avatar. This may not render correctly'
); );