Remove redundant OFFLINE/LIVE status pill; single button conveys state

This commit is contained in:
2026-08-04 10:36:37 -07:00
parent 4293ae11a4
commit 639e1bb323
2 changed files with 1 additions and 39 deletions
-10
View File
@@ -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.