From d8dbf25853de2e4543f213f19f5b8308f4a34ddf Mon Sep 17 00:00:00 2001 From: Aex Date: Thu, 4 Nov 2021 13:12:08 +0800 Subject: [PATCH] Fixes #1511: Double the size of the Avatar --- src/avatars.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/avatars.ts b/src/avatars.ts index d1ceb1b..b4d91fe 100644 --- a/src/avatars.ts +++ b/src/avatars.ts @@ -73,6 +73,9 @@ export function getAvatarUri( ): Uri | Promise { ensureAvatarCache(avatarCache); + // Double the size to avoid blurring on the retina screen + size *= 2 + if (email == null || email.length === 0) { const avatar = createOrUpdateAvatar( `${missingGravatarHash}:${size}`,