Skip to content

Commit

Permalink
MudBlazor 7
Browse files Browse the repository at this point in the history
  • Loading branch information
michielpost committed Sep 5, 2024
1 parent 77a68ad commit 0c0bd56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<ItemGroup>
<PackageReference Include="Blazored.LocalStorage" Version="4.5.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="8.0.8" />
<PackageReference Include="MudBlazor" Version="6.11.0" />
<PackageReference Include="MudBlazor" Version="7.7.0" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions HueLightDJ.Blazor.Controls/Pages/LightDJ.razor
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

@if (statusModel.IsAutoMode)
{
<MudCheckBox @bind-Checked="@statusModel.AutoModeHasRandomEffects" @onchange="@(() => LightDJService.SetAutoRandomMode(new BoolRequest(statusModel.AutoModeHasRandomEffects)))" Label="Random effects"></MudCheckBox>
<MudCheckBox T="bool" @bind-Checked="@statusModel.AutoModeHasRandomEffects" @onchange="@(() => LightDJService.SetAutoRandomMode(new BoolRequest(statusModel.AutoModeHasRandomEffects)))" Label="Random effects"></MudCheckBox>

<MudButton Variant="Variant.Text" Color="Color.Primary" OnClick="(() => LightDJService.StopAutoMode())">Stop Auto Mode</MudButton>
}
Expand Down Expand Up @@ -64,7 +64,7 @@

@if (effect.HasColorPicker)
{
<MudCheckBox @bind-Checked="@effect.IsRandom" Label="Random"></MudCheckBox>
<MudCheckBox T="bool" @bind-Checked="@effect.IsRandom" Label="Random"></MudCheckBox>

@if (!effect.IsRandom)
{
Expand Down

0 comments on commit 0c0bd56

Please sign in to comment.