Skip to content

Commit

Permalink
Icon fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Feb 23, 2024
1 parent bf5fac3 commit 3a0a96f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<CardTitle Size="4" Position="Position.Relative" Margin="@Margin.Is0">
Job History
<Button Position="@Position.Absolute.Bottom.Is0.End.Is0.Translate.MiddleX" Clicked="@Refresh" Padding="@Padding.Is0" >
<Icon Name="@Enum.GetName(IconName.Sync)" />
<Icon Name="@IconName.Sync" />
</Button>
</CardTitle>
</CardHeader>
Expand All @@ -40,19 +40,19 @@
<DisplayTemplate>
@if (context.IsSuccess == true)
{
<Icon Name="@Enum.GetName(IconName.CheckCircle)" Style="@($"color: {Theme.ColorOptions.Success}")" />
<Icon Name="@IconName.CheckCircle" Style="@($"color: {Theme.ColorOptions.Success}")" />
}
else if (context.IsVetoed == true)
{
<Icon Name="@Enum.GetName(IconName.MinusCircle)" Style="@($"color: {Theme.ColorOptions.Warning}")" />
<Icon Name="@IconName.MinusCircle" Style="@($"color: {Theme.ColorOptions.Warning}")" />
}
else if (context.IsException == true)
{
<Icon Name="@Enum.GetName(IconName.TimesCircle)" Style="@($"color: {Theme.ColorOptions.Danger}")" />
<Icon Name="@IconName.TimesCircle" Style="@($"color: {Theme.ColorOptions.Danger}")" />
}
else
{
<Icon Name="@Enum.GetName(IconName.Circle)" Style="@($"color: {Theme.ColorOptions.Info}")" />
<Icon Name="@IconName.Circle" Style="@($"color: {Theme.ColorOptions.Info}")" />
}
</DisplayTemplate>
</DataGridColumn>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</Step>
<Step Name="Finalizing" Completed="@(_stepIndex > 3)">
<Marker>
<Icon Name="@Enum.GetName(IconName.Flag)" />
<Icon Name="@IconName.Flag" />
</Marker>
<Caption>
<Text Style="@TextStyle" >Finalizing</Text>
Expand Down
2 changes: 1 addition & 1 deletion src/BUTR.Site.NexusMods.Client/Pages/Tools/Articles.razor
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<CardTitle Size="4" Position="Position.Relative" Margin="@Margin.Is0">
NexusMods Articles
<Button Position="@Position.Absolute.Bottom.Is0.End.Is0.Translate.MiddleX" Clicked="@Refresh" Padding="@Padding.Is0" >
<Icon Name="@Enum.GetName(IconName.Sync)" />
<Icon Name="@IconName.Sync" />
</Button>
</CardTitle>
</CardHeader>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<CardTitle Size="4" Position="@Position.Relative" Margin="@Margin.Is0">
Crash Reports
<Button Position="@Position.Absolute.Bottom.Is0.End.Is0.Translate.MiddleX" Clicked="@Refresh" Padding="@Padding.Is0" >
<Icon Name="@Enum.GetName(IconName.Sync)" />
<Icon Name="@IconName.Sync" />
</Button>
</CardTitle>
</CardHeader>
Expand Down

0 comments on commit 3a0a96f

Please sign in to comment.