feat(app): connection status indicator opens server settings on tap
The green/red dot + status text in the wallet header is now tappable: opens the server settings overlay directly. Added Hand cursor and tooltip (server title) to signal interactivity. Status text uses SystemAccentColor instead of Gray.
This commit is contained in:
@@ -72,6 +72,12 @@ public partial class MainWindow : Window
|
||||
vm.IsServerSettingsOpen = false;
|
||||
}
|
||||
|
||||
private void OnConnectionStatusTapped(object? sender, TappedEventArgs e)
|
||||
{
|
||||
if (DataContext is MainWindowViewModel vm)
|
||||
vm.IsServerSettingsOpen = true;
|
||||
}
|
||||
|
||||
private void OnSettingsOverlayBackdropTapped(object? sender, TappedEventArgs e)
|
||||
{
|
||||
if (!ReferenceEquals(e.Source, sender)) return;
|
||||
|
||||
Reference in New Issue
Block a user