Text tab toggles the drawer; click-away collapses it

This commit is contained in:
2026-08-24 14:49:15 -07:00
parent e6baa55867
commit d9e352f996
5 changed files with 16 additions and 8 deletions
+2 -2
View File
@@ -41,12 +41,12 @@ public sealed class LiveBroadcastFormViewModel : ViewModelBase
_streamService = streamService;
_broadcastId = broadcastId;
UpdateBroadcastCommand = new RelayCommand(_ => _ = UpdateRemoteAsync(), _ => CanUpdateRemote);
OpenDrawerCommand = new RelayCommand(_ => IsDrawerOpen = true);
ToggleDrawerCommand = new RelayCommand(_ => IsDrawerOpen = !IsDrawerOpen);
CloseDrawerCommand = new RelayCommand(_ => IsDrawerOpen = false);
}
public ICommand UpdateBroadcastCommand { get; }
public RelayCommand OpenDrawerCommand { get; }
public RelayCommand ToggleDrawerCommand { get; }
public RelayCommand CloseDrawerCommand { get; }
public string Title { get => _title; set { if (SetProperty(ref _title, value)) Persist(); } }