diff --git a/src/Commands/Command.cs b/src/Commands/Command.cs index 96a5b9c9..3f61de17 100644 --- a/src/Commands/Command.cs +++ b/src/Commands/Command.cs @@ -120,8 +120,8 @@ namespace SourceGit.Commands { if (RaiseError) { - var errMsg = string.Join("\n", errs); - if (!string.IsNullOrWhiteSpace(errMsg)) + var errMsg = string.Join("\n", errs).Trim(); + if (!string.IsNullOrEmpty(errMsg)) Dispatcher.UIThread.Post(() => App.RaiseException(Context, errMsg)); } diff --git a/src/Views/LauncherPage.axaml b/src/Views/LauncherPage.axaml index 11ed153c..ee4c77eb 100644 --- a/src/Views/LauncherPage.axaml +++ b/src/Views/LauncherPage.axaml @@ -125,11 +125,9 @@ - - - - - + + +