Browse Source

Removing '.jpg' for less stale gravatar

main
Leo Dan Peña 2 years ago
committed by Eric Amodio
parent
commit
f65ed258cb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/avatars.ts

+ 1
- 1
src/avatars.ts View File

@ -160,7 +160,7 @@ function getAvatarUriFromGravatar(
size: number,
defaultStyle: GravatarDefaultStyle = GravatarDefaultStyle.Robot,
): Uri {
return Uri.parse(`https://www.gravatar.com/avatar/${hash}.jpg?s=${size}&d=${defaultStyle}`);
return Uri.parse(`https://www.gravatar.com/avatar/${hash}?s=${size}&d=${defaultStyle}`);
}
function getAvatarUriFromGitHubNoReplyAddress(email: string, size: number = 16): Uri | undefined {

Loading…
Cancel
Save