Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
647c82d254
@ -44,14 +44,14 @@
|
|||||||
</MudItem>
|
</MudItem>
|
||||||
<MudItem xs="2">
|
<MudItem xs="2">
|
||||||
<MudStack Justify="Justify.Center" AlignItems="AlignItems.End" Style="height:100%">
|
<MudStack Justify="Justify.Center" AlignItems="AlignItems.End" Style="height:100%">
|
||||||
|
<MudTooltip Text="@(context.Item.IsFavorite ? "Remove from favorites" : "Add to favorites")" Arrow="true" Placement="Placement.Top">
|
||||||
<MudToggleIconButton Toggled="@context.Item.IsFavorite"
|
<MudToggleIconButton Toggled="@context.Item.IsFavorite"
|
||||||
ToggledChanged="@(async () => await OnFavoriteToggled(context.Item))"
|
ToggledChanged="@(async () => await OnFavoriteToggled(context.Item))"
|
||||||
Icon="@Icons.Material.Filled.FavoriteBorder" Color="@Color.Secondary"
|
Icon="@Icons.Material.Filled.FavoriteBorder" Color="@Color.Secondary"
|
||||||
Title="Add to favorites"
|
|
||||||
ToggledIcon="@Icons.Material.Filled.Favorite" ToggledColor="@Color.Secondary"
|
ToggledIcon="@Icons.Material.Filled.Favorite" ToggledColor="@Color.Secondary"
|
||||||
ToggledTitle="Remove from favorites"
|
|
||||||
Size="Size.Small"
|
Size="Size.Small"
|
||||||
ToggledSize="Size.Small"/>
|
ToggledSize="Size.Small"/>
|
||||||
|
</MudTooltip>
|
||||||
</MudStack>
|
</MudStack>
|
||||||
</MudItem>
|
</MudItem>
|
||||||
</MudGrid>
|
</MudGrid>
|
||||||
|
Loading…
Reference in New Issue
Block a user