diff --git a/ViewModels/MainViewModel.cs b/ViewModels/MainViewModel.cs index 9032c54..39d5ceb 100644 --- a/ViewModels/MainViewModel.cs +++ b/ViewModels/MainViewModel.cs @@ -77,7 +77,7 @@ public class MainViewModel : ViewModelBase } public bool ShowConnect => !IsYouTubeConnected; - public bool ShowGoLive => IsYouTubeConnected && IsOffline; + public bool ShowGoLive => IsOffline; // Commands public ICommand AddSceneCommand { get; } @@ -97,7 +97,7 @@ public class MainViewModel : ViewModelBase AddSceneCommand = new RelayCommand(_ => AddScene()); RemoveSceneCommand = new RelayCommand(scene => RemoveScene(scene as Scene)); ConnectCommand = new RelayCommand(_ => ConnectYouTube()); - GoLiveCommand = new RelayCommand(_ => StartStream(), _ => IsYouTubeConnected && IsOffline); + GoLiveCommand = new RelayCommand(_ => StartStream(), _ => IsOffline); EndStreamCommand = new RelayCommand(_ => StopStream(), _ => IsLive); // Start with a default scene