瀏覽代碼

Removing '.jpg' for less stale gravatar

main
Leo Dan Peña 2 年之前
committed by Eric Amodio
父節點
當前提交
f65ed258cb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/avatars.ts

+ 1
- 1
src/avatars.ts 查看文件

@ -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…
取消
儲存