using MudBlazor; namespace DeepDrftPublic.Client.Helpers; /// /// Single source of truth for mapping playback state to a transport glyph across /// DeepDrftPublic.Client. Surfaces that render a play/pause icon call /// instead of inlining their own ternary. /// public static class PlaybackIcons { public static string Resolve(bool isPlaying, bool isPaused) => (isPlaying && !isPaused) ? Icons.Material.Filled.Pause : Icons.Material.Filled.PlayArrow; }