[frontend] Update to new PhosphorIcons version

This commit is contained in:
Laura Hausmann 2024-10-17 20:09:01 +02:00
parent afd263839e
commit 20f2168881
No known key found for this signature in database
GPG key ID: D044E84C5BE01605
3 changed files with 6 additions and 6 deletions

View file

@ -11,19 +11,19 @@
{ {
case ButtonType.Follow: case ButtonType.Follow:
<span class="text">@Loc["Follow"]</span> <span class="text">@Loc["Follow"]</span>
<Icon ExtraClasses="icon" Name="Icons.Plus"/> <Icon Name="Icons.Plus" class="icon"/>
break; break;
case ButtonType.Unfollow: case ButtonType.Unfollow:
<span class="text">@Loc["Unfollow"]</span> <span class="text">@Loc["Unfollow"]</span>
<Icon ExtraClasses="icon" Name="Icons.Minus"/> <Icon Name="Icons.Minus" class="icon"/>
break; break;
case ButtonType.FollowBack: case ButtonType.FollowBack:
<span class="text">@Loc["Follow back"]</span> <span class="text">@Loc["Follow back"]</span>
<Icon ExtraClasses="icon" Name="Icons.Plus"/> <Icon Name="Icons.Plus" class="icon"/>
break; break;
case ButtonType.CancelRequest: case ButtonType.CancelRequest:
<span class="text">@Loc["Cancel request"]</span> <span class="text">@Loc["Cancel request"]</span>
<Icon ExtraClasses="icon" Name="Icons.X"/> <Icon Name="Icons.X" class="icon"/>
break; break;
} }
</button> </button>

View file

@ -43,7 +43,7 @@
} }
else else
{ {
<Icon ExtraClasses="faded" Name="Icons.Lock" Size="1.3em"/> <Icon Name="Icons.Lock" Size="1.3em" class="faded"/>
} }
@if (Renotes > 0) @if (Renotes > 0)
{ {

View file

@ -34,7 +34,7 @@
<PrivateAssets>all</PrivateAssets> <PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference> </PackageReference>
<PackageReference Include="Iceshrimp.Assets.PhosphorIcons" Version="2.0.3" /> <PackageReference Include="Iceshrimp.Assets.PhosphorIcons" Version="2.1.1" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>