summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-07-12 14:28:25 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-07-12 14:28:25 +0200
commit5fd9376255ae26c4d7412fd43b52d4622cd3f3ce (patch)
tree203fd02e06a2bd5508c2067bf0d926364083982d
parented0ee34eace2791e4e417dde28ec903d6530d823 (diff)
Fix inverted like button
Use outline when not liked, and filled and red with liked Signed-off-by: Carl Schwan <carl@carlschwan.eu>
-rw-r--r--src/components/TimelinePost.vue6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/TimelinePost.vue b/src/components/TimelinePost.vue
index 8e72c65b..764e8c02 100644
--- a/src/components/TimelinePost.vue
+++ b/src/components/TimelinePost.vue
@@ -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>