chore: change also boots and favorite

pull/2717/head
userquin 2024-03-29 20:50:17 +01:00
rodzic 52f3dd4a24
commit 2406819ae5
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -55,7 +55,7 @@ function reply() {
<div flex-1>
<StatusActionButton
:content="$t('action.boost')"
:content="$t(!!status.reblogged ? 'action.boosted' : 'action.boost')"
:text="!getPreferences(userSettings, 'hideBoostCount') && status.reblogsCount ? status.reblogsCount : ''"
color="text-green" hover="text-green" elk-group-hover="bg-green/10"
icon="i-ri:repeat-line"
@ -77,7 +77,7 @@ function reply() {
<div flex-1>
<StatusActionButton
:content="$t('action.favourite')"
:content="$t(!!status.favourited ? 'action.favourited' : 'action.favourite')"
:text="!getPreferences(userSettings, 'hideFavoriteCount') && status.favouritesCount ? status.favouritesCount : ''"
:color="useStarFavoriteIcon ? 'text-yellow' : 'text-rose'"
:hover="useStarFavoriteIcon ? 'text-yellow' : 'text-rose'"
@ -100,7 +100,7 @@ function reply() {
<div flex-none>
<StatusActionButton
:content="$t(status.bookmarked ? 'action.bookmarked' : 'action.bookmark')"
:content="$t(!!status.bookmarked ? 'action.bookmarked' : 'action.bookmark')"
:color="useStarFavoriteIcon ? 'text-rose' : 'text-yellow'"
:hover="useStarFavoriteIcon ? 'text-rose' : 'text-yellow'"
:elk-group-hover="useStarFavoriteIcon ? 'bg-rose/10' : 'bg-yellow/10' "