mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
feature<CommitViewer>: using d=map instead of d=identicon
This commit is contained in:
parent
dab5302fc8
commit
0e48344401
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ namespace SourceGit.UI {
|
||||||
if (File.Exists(filePath)) {
|
if (File.Exists(filePath)) {
|
||||||
avatar.Source = new BitmapImage(new Uri(filePath));
|
avatar.Source = new BitmapImage(new Uri(filePath));
|
||||||
} else {
|
} else {
|
||||||
var bitmap = new BitmapImage(new Uri("https://www.gravatar.com/avatar/" + md5 + "?d=identicon"));
|
var bitmap = new BitmapImage(new Uri("https://www.gravatar.com/avatar/" + md5 + "?d=mp"));
|
||||||
bitmap.DownloadCompleted += (o, e) => {
|
bitmap.DownloadCompleted += (o, e) => {
|
||||||
var owner = o as BitmapImage;
|
var owner = o as BitmapImage;
|
||||||
if (owner != null) {
|
if (owner != null) {
|
||||||
|
|
Loading…
Reference in a new issue