Skip to content

Commit

Permalink
Fixes #1511: Double the size of the Avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
adaex committed Nov 4, 2021
1 parent 20e6bfe commit d8dbf25
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/avatars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ export function getAvatarUri(
): Uri | Promise<Uri> {
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}`,
Expand Down

0 comments on commit d8dbf25

Please sign in to comment.