Fix inverted like button

Use outline when not liked, and filled and red with liked

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
pull/1447/head
Carl Schwan 2022-07-12 14:28:25 +02:00
rodzic ed0ee34eac
commit 5fd9376255
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -44,7 +44,7 @@
v-tooltip="t('social', 'Boost')"
@click="boost">
<template #icon>
<Repeat :size="20" :fillColor="isBoosted ? 'blue' : 'black'" />
<Repeat :size="20" :fill-color="isBoosted ? 'blue' : 'black'" />
</template>
</Button>
<Button v-if="!isLiked"
@ -52,7 +52,7 @@
v-tooltip="t('social', 'Like')"
@click="like">
<template #icon>
<Heart :size="20" />
<HeartOutline :size="20" />
</template>
</Button>
<Button v-if="isLiked"
@ -60,7 +60,7 @@
v-tooltip="t('social', 'Undo Like')"
@click="like">
<template #icon>
<HeartOutline :size="20" />
<Heart :size="20" :fill-color="'var(--color-error)'" />
</template>
</Button>
<Actions>