Remove redundant OFFLINE/LIVE status pill; single button conveys state
This commit is contained in:
@@ -37,7 +37,6 @@ public class MainViewModel : ViewModelBase
|
||||
{
|
||||
OnPropertyChanged(nameof(IsOffline));
|
||||
OnPropertyChanged(nameof(IsLive));
|
||||
OnPropertyChanged(nameof(StatusDisplay));
|
||||
OnPropertyChanged(nameof(PrimaryButtonText));
|
||||
}
|
||||
}
|
||||
@@ -74,15 +73,6 @@ public class MainViewModel : ViewModelBase
|
||||
}
|
||||
}
|
||||
|
||||
public string StatusDisplay => StreamStatus switch
|
||||
{
|
||||
StreamStatus.Offline => "OFFLINE",
|
||||
StreamStatus.Connecting => "CONNECTING...",
|
||||
StreamStatus.Streaming => "LIVE",
|
||||
StreamStatus.Error => "ERROR",
|
||||
_ => "UNKNOWN"
|
||||
};
|
||||
|
||||
/// <summary>
|
||||
/// Single, context-aware primary button. Follows the user's journey:
|
||||
/// not connected → connect, connected+idle → go live, live → stop.
|
||||
|
||||
Reference in New Issue
Block a user