Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 132ac15

Browse files
Removing AvatarUrl
1 parent 42a2a80 commit 132ac15

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/GitHub.App/ViewModels/GitHubPane/PullRequestCheckViewModel.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ public static IEnumerable<IPullRequestCheckViewModel> Build(IViewViewModelFactor
4949
pullRequestCheckViewModel.Description = model.Description;
5050
pullRequestCheckViewModel.Status = checkStatus;
5151
pullRequestCheckViewModel.DetailsUrl = !string.IsNullOrEmpty(model.TargetUrl) ? new Uri(model.TargetUrl) : null;
52-
pullRequestCheckViewModel.AvatarUrl = model.AvatarUrl ?? DefaultAvatar;
53-
pullRequestCheckViewModel.Avatar = model.AvatarUrl != null
54-
? new BitmapImage(new Uri(model.AvatarUrl))
55-
: AvatarProvider.CreateBitmapImage(DefaultAvatar);
5652

5753
return pullRequestCheckViewModel;
5854
}) ?? new PullRequestCheckViewModel[0];
@@ -138,10 +134,6 @@ private void DoOpenDetailsUrl(object obj)
138134

139135
public Uri DetailsUrl { get; private set; }
140136

141-
public string AvatarUrl { get; private set; }
142-
143-
public BitmapImage Avatar { get; private set; }
144-
145137
public ReactiveCommand<object> OpenDetailsUrl { get; }
146138
}
147139
}

0 commit comments

Comments
 (0)