Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 7e99d89

Browse files
Merge branch 'fixes/asset-explorer-refresh' into stanley/0.31-rc
2 parents 086a089 + dde0c4d commit 7e99d89

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/UnityExtension/Assets/Editor/GitHub.Unity/UI/ProjectWindowInterface.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ public static void Initialize(IRepository repo)
3434

3535
if (repository != null)
3636
{
37-
repository.TrackingStatusChanged += RepositoryOnStatusChanged;
37+
repository.StatusEntriesChanged += RepositoryOnStatusEntriesChanged;
3838
repository.LocksChanged += RepositoryOnLocksChanged;
39-
4039
}
4140
}
4241

@@ -46,7 +45,7 @@ private static void ValidateCachedData(IRepository repository)
4645
repository.CheckAndRaiseEventsIfCacheNewer(CacheType.GitLocks, lastLocksChangedEvent);
4746
}
4847

49-
private static void RepositoryOnStatusChanged(CacheUpdateEvent cacheUpdateEvent)
48+
private static void RepositoryOnStatusEntriesChanged(CacheUpdateEvent cacheUpdateEvent)
5049
{
5150
if (!lastRepositoryStatusChangedEvent.Equals(cacheUpdateEvent))
5251
{

0 commit comments

Comments
 (0)