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

Commit c34b900

Browse files
committed
Added TODO to cache the icon state.
1 parent 31a639d commit c34b900

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/GitHub.TeamFoundation.14/Connect/GitHubConnectSection.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ async void UpdateRepositoryList(object sender, NotifyCollectionChangedEventArgs
219219

220220
try
221221
{
222+
// TODO: Cache the icon state.
222223
var repo = await ApiFactory.Create(newrepo.CloneUrl).GetRepository();
223224
newrepo.SetIcon(repo.Private, repo.Fork);
224225
}
@@ -242,6 +243,7 @@ async void UpdateRepositoryList(object sender, NotifyCollectionChangedEventArgs
242243

243244
try
244245
{
246+
// TODO: Cache the icon state.
245247
var repo = await ApiFactory.Create(r.CloneUrl).GetRepository();
246248
r.SetIcon(repo.Private, repo.Fork);
247249
}

0 commit comments

Comments
 (0)