diff --git a/FluentTerminal.App/Dialogs/SshInfoDialog.xaml b/FluentTerminal.App/Dialogs/SshInfoDialog.xaml index a879ebde..e63771a2 100644 --- a/FluentTerminal.App/Dialogs/SshInfoDialog.xaml +++ b/FluentTerminal.App/Dialogs/SshInfoDialog.xaml @@ -23,7 +23,7 @@ - + diff --git a/FluentTerminal.App/Services/SshHelperService.cs b/FluentTerminal.App/Services/SshHelperService.cs index de466581..d4659d92 100644 --- a/FluentTerminal.App/Services/SshHelperService.cs +++ b/FluentTerminal.App/Services/SshHelperService.cs @@ -243,7 +243,9 @@ public async Task GetSshShellProfileAsync(Uri uri) if (!string.IsNullOrEmpty(error)) { // Happens if the link doesn't contain all the needed data, so we have to prompt user to complete. - sshConnectionInfo = (SshConnectionInfoViewModel) await _dialogService.ShowSshConnectionInfoDialogAsync(); + sshConnectionInfo = + (SshConnectionInfoViewModel) await _dialogService.ShowSshConnectionInfoDialogAsync( + sshConnectionInfo); // sshConnectionInfo can be null if user clicks "Cancel". if (sshConnectionInfo == null)