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

Commit 9c52781

Browse files
Refactoring
1 parent 5364f4f commit 9c52781

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ private static void OnLocksUpdate(IEnumerable<GitLock> update)
177177

178178
private static void RunStatusUpdateOnMainThread(GitStatus update)
179179
{
180-
EntryPoint.ApplicationManager.TaskManager.ScheduleUI(new ActionTask(EntryPoint.ApplicationManager.TaskManager.Token, _ => OnStatusUpdate(update)));
180+
new ActionTask(EntryPoint.ApplicationManager.TaskManager.Token, _ => OnStatusUpdate(update))
181+
.ScheduleUI(EntryPoint.ApplicationManager.TaskManager);
181182
}
182183

183184
private static void OnStatusUpdate(GitStatus update)

0 commit comments

Comments
 (0)