Migrate desktop AudioPlayerBar to MudBlazor theme surface

This commit is contained in:
daniel-c-harvey
2026-06-04 19:28:14 -04:00
parent a57e0f71c4
commit 8420ab8d37
16 changed files with 182 additions and 230 deletions
@@ -0,0 +1,19 @@
@namespace DeepDrftPublic.Client.Controls.AudioPlayerBar
<MudStack Row="false" AlignItems="AlignItems.Center" Spacing="2" Class="@Class">
<MudStack Row="true" AlignItems="AlignItems.Center" Spacing="1">
<PlayerControls IsPlaying="IsPlaying"
IsLoaded="IsLoaded"
TogglePlayPause="TogglePlayPause"
Stop="Stop"/>
@if (IsLoading && !IsStreaming)
{
<MudProgressCircular Color="Color.Tertiary"
Size="Size.Small"
Max="1D"
Value="@LoadProgress"
Indeterminate="@(LoadProgress == 0)"/>
}
</MudStack>
<TimestampLabel CurrentTime="DisplayTime" Duration="Duration"/>
</MudStack>