fix: supporter badge (#24012)
parent
45a0315606
commit
acded69adf
|
|
@ -74,10 +74,10 @@
|
||||||
{#if $isPurchased && $preferences.purchase.showSupportBadge}
|
{#if $isPurchased && $preferences.purchase.showSupportBadge}
|
||||||
<button
|
<button
|
||||||
onclick={() => goto(`${AppRoute.USER_SETTINGS}?isOpen=user-purchase-settings`)}
|
onclick={() => goto(`${AppRoute.USER_SETTINGS}?isOpen=user-purchase-settings`)}
|
||||||
class="w-full"
|
class="w-full mt-2"
|
||||||
type="button"
|
type="button"
|
||||||
>
|
>
|
||||||
<SupporterBadge />
|
<SupporterBadge size="small" effect="always" />
|
||||||
</button>
|
</button>
|
||||||
{:else if !$isPurchased && showBuyButton && getAccountAge() > 14}
|
{:else if !$isPurchased && showBuyButton && getAccountAge() > 14}
|
||||||
<button
|
<button
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue