diff --git a/src/App/ViewModels/MainWindowViewModel.Sync.cs b/src/App/ViewModels/MainWindowViewModel.Sync.cs
index 55b7415..8326196 100644
--- a/src/App/ViewModels/MainWindowViewModel.Sync.cs
+++ b/src/App/ViewModels/MainWindowViewModel.Sync.cs
@@ -31,10 +31,13 @@ public partial class MainWindowViewModel
private bool isServerSettingsOpen;
[RelayCommand]
- private void OpenServerSettings()
+ private async Task OpenServerSettings()
{
IsSettingsOpen = false;
+ RefreshServers();
IsServerSettingsOpen = true;
+ if (_client is { IsConnected: true })
+ await DiscoverServers();
}
[RelayCommand]
@@ -188,7 +191,7 @@ public partial class MainWindowViewModel
});
IsConnected = true;
_autoReconnect = true;
- ConnectionStatus = Loc.Tr("conn.connectedto");
+ ConnectionStatus = $"{Loc.Tr("conn.connectedto")} {h}:{p}";
// Update the UI to reflect the server actually connected.
_syncingServerFields = true;
ServerHost = h;
diff --git a/src/App/Views/MainView.axaml b/src/App/Views/MainView.axaml
index 9bdac8f..b83a598 100644
--- a/src/App/Views/MainView.axaml
+++ b/src/App/Views/MainView.axaml
@@ -1164,21 +1164,17 @@
-
-
+
-
-
@@ -1186,27 +1182,16 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
@@ -1215,23 +1200,13 @@
-
-
-
-
-
-
+