defaulLike fallback to heart

This commit is contained in:
fly_mc 2024-11-15 01:41:19 +08:00
parent 477a551be1
commit 96ff722ef0
2 changed files with 2 additions and 2 deletions

View file

@ -320,7 +320,7 @@ const renoteCollapsed = ref(
),
);
const defaultLike = computed(() => defaultStore.state.like ? defaultStore.state.like : null);
const defaultLike = computed(() => defaultStore.state.like ?? '♥');
const inReplyToCollapsed = ref(defaultStore.state.collapseNotesRepliedTo);
const disableReactionsViewer = ref(defaultStore.reactiveState.disableReactionsViewer);

View file

@ -348,7 +348,7 @@ const showTicker = (defaultStore.state.instanceTicker === 'always') || (defaultS
const conversation = ref<Misskey.entities.Note[]>([]);
const replies = ref<Misskey.entities.Note[]>([]);
const canRenote = computed(() => ['public', 'home'].includes(appearNote.value.visibility) || appearNote.value.userId === $i?.id);
const defaultLike = computed(() => defaultStore.state.like ? defaultStore.state.like : null);
const defaultLike = computed(() => defaultStore.state.like ?? '♥');
type ShowingNoteHistoryState = {
createdAt: string | null;