premium icon

This commit is contained in:
SPRINX0\prochazka
2025-10-22 10:15:27 +02:00
parent a432cb886d
commit 82092fab76
3 changed files with 7 additions and 1 deletions

View File

@@ -186,7 +186,7 @@
data-testid={`WidgetIconPanel_${item.name}`}
on:click={() => handleChangeWidget(item.name)}
>
<FontIcon icon={item.icon} title={item.title} />
<FontIcon icon={item.isPremiumPromo ? ($promoWidget?.icon ?? item.icon) : item.icon} title={item.title} />
{#if item.isPremiumPromo}
<div class="premium-promo">Premium</div>
{#if $promoWidget?.identifier != $seenPremiumPromoWidget}