private async Task <List <GitFile> > GetFileList() { if (CurrentTracker != null) { return(await CurrentTracker.GetCurrentChangeSet()); } return(new List <GitFile>()); }
private async Task <List <GitFile> > GetFileList() { //await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync(); //ShowStatusMessage("Getting changed files ..."); //await TaskScheduler.Default; if (CurrentTracker != null) { return(await CurrentTracker.GetCurrentChangeSet()); } return(new List <GitFile>()); }