Merge branch 'p2-w1-interactivity-guards' into dev
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<MudIconButton Icon="@Icons.Material.Filled.Share"
|
||||
Size="Size.Large"
|
||||
Color="Color.Secondary"
|
||||
Disabled="@(!RendererInfo.IsInteractive)"
|
||||
OnClick="@Toggle"
|
||||
aria-label="Share this track" />
|
||||
</MudTooltip>
|
||||
|
||||
@@ -104,6 +104,7 @@
|
||||
<MudFab Color="Color.Tertiary"
|
||||
Size="Size.Medium"
|
||||
StartIcon="@PlayPauseIcon"
|
||||
Disabled="@(!RendererInfo.IsInteractive)"
|
||||
OnClick="@PlayClick"/>
|
||||
</div>
|
||||
|
||||
@@ -118,6 +119,7 @@ else
|
||||
<MudFab Color="Color.Tertiary"
|
||||
Size="Size.Medium"
|
||||
StartIcon="@PlayPauseIcon"
|
||||
Disabled="@(!RendererInfo.IsInteractive)"
|
||||
OnClick="@PlayClick"
|
||||
Class="deepdrft-track-row-fab"/>
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<div class="dd-nav-actions">
|
||||
<button type="button"
|
||||
class="dd-nav-cta"
|
||||
disabled="@_streamLoading"
|
||||
disabled="@(_streamLoading || !RendererInfo.IsInteractive)"
|
||||
aria-busy="@_streamLoading.ToString().ToLowerInvariant()"
|
||||
@onclick="StreamNow">
|
||||
@if (_findingTrack)
|
||||
@@ -80,7 +80,7 @@
|
||||
<li>
|
||||
<button type="button"
|
||||
class="dd-nav-cta"
|
||||
disabled="@_streamLoading"
|
||||
disabled="@(_streamLoading || !RendererInfo.IsInteractive)"
|
||||
aria-busy="@_streamLoading.ToString().ToLowerInvariant()"
|
||||
@onclick="StreamNowMobile">
|
||||
@if (_findingTrack)
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
@if (ViewModel.Page != null)
|
||||
{
|
||||
<div class="tracks-view-header">
|
||||
<MudToggleGroup T="GalleryViewMode" @bind-Value="_viewMode" Class="tracks-view-toggle">
|
||||
<MudToggleGroup T="GalleryViewMode" @bind-Value="_viewMode" Disabled="@(!RendererInfo.IsInteractive)" Class="tracks-view-toggle">
|
||||
<MudToggleItem Value="GalleryViewMode.Grid">
|
||||
<MudIcon Icon="@Icons.Material.Filled.ViewModule"/>
|
||||
</MudToggleItem>
|
||||
@@ -30,6 +30,7 @@
|
||||
<MudPagination Count="@ViewModel.Page.TotalPages"
|
||||
Selected="@ViewModel.Page.Page"
|
||||
SelectedChanged="@SetPage"
|
||||
Disabled="@(!RendererInfo.IsInteractive)"
|
||||
BoundaryCount="2"
|
||||
MiddleCount="3"/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user