Browse Source

Fixes #1511: Double the size of the Avatar

main
Aex 3 years ago
committed by GitHub
parent
commit
d8dbf25853
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/avatars.ts

+ 3
- 0
src/avatars.ts View File

@ -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}`,

Loading…
Cancel
Save