mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-21 04:04:59 +00:00
optimize<*>: App.RaiseException should be called in UIThread; add default progress description for popups;
This commit is contained in:
parent
dc0b33ba21
commit
9c3294c285
35 changed files with 100 additions and 34 deletions
|
@ -14,8 +14,9 @@ namespace SourceGit.ViewModels {
|
|||
}
|
||||
|
||||
public override Task<bool> Sure() {
|
||||
ProgressDescription = $"Initialize git repository at: '{_targetPath}'";
|
||||
|
||||
return Task.Run(() => {
|
||||
SetProgressDescription($"Initialize git repository at: '{_targetPath}'");
|
||||
var succ = new Commands.Init(HostPageId, _targetPath).Exec();
|
||||
if (!succ) return false;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue