Text tab toggles the drawer; click-away collapses it
This commit is contained in:
@@ -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(); } }
|
||||
|
||||
Reference in New Issue
Block a user