diff --git a/package.json b/package.json index 8eb93eef..ee721864 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "photon-lemmy", - "version": "1.9.0", + "version": "1.9.1", "private": true, "scripts": { "dev": "vite dev", diff --git a/src/lib/components/lemmy/comment/CommentVote.svelte b/src/lib/components/lemmy/comment/CommentVote.svelte index 3077899a..3eb3480d 100644 --- a/src/lib/components/lemmy/comment/CommentVote.svelte +++ b/src/lib/components/lemmy/comment/CommentVote.svelte @@ -7,7 +7,7 @@ ChevronUp, Icon, } from 'svelte-hero-icons' - import { getClient } from '$lib/lemmy' + import { getClient, site } from '$lib/lemmy' import { userSettings } from '$lib/settings' import { profile } from '$lib/auth.js' import FormattedNumber from '$lib/components/util/FormattedNumber.svelte' @@ -66,17 +66,7 @@ } const voteColor = (vote: number) => ` - ${ - vote == 1 - ? $userSettings.revertColors - ? '!text-orange-500' - : '!text-blue-500' - : vote == -1 - ? $userSettings.revertColors - ? '!text-blue-500' - : '!text-red-500' - : '' - } + ${vote == 1 ? '!text-blue-500' : vote == -1 ? '!text-red-500' : ''} ` @@ -92,13 +82,20 @@ dark:border-zinc-800" > - +