replace This note is hidden with CW content

This commit is contained in:
Jeder 2023-07-30 13:58:18 +02:00 committed by aprilthepink
parent 66a0f59b6a
commit de28d40af5
2 changed files with 2 additions and 3 deletions

View File

@ -1127,7 +1127,6 @@ removeQuote: "Remove quote"
removeRecipient: "Remove recipient"
removeMember: "Remove member"
verifiedLink: "Verified link"
noteHidden: "This note is hidden"
_sensitiveMediaDetection:
description: "Reduces the effort of server moderation through automatically recognizing

View File

@ -34,7 +34,7 @@
<i class="ph-lock ph-bold"></i>
</span>
<Mfm
v-if="note.cw != ''"
v-if="note.cw != '' && showContent"
class="text"
:text="note.cw"
:author="note.user"
@ -59,7 +59,7 @@
v-model="collapsed"
v-on:keydown="focusFooter"
></XShowMoreButton>
<span v-if="note.cw && !showContent" class="hiddenNote">{{ i18n.ts.noteHidden }}</span>
<Mfm v-if="note.cw && !showContent" class="hiddenNote" :text="note.cw" :author="note.user" :i="$i" :custom-emojis="note.emojis"/>
<XCwButton
ref="cwButton"
v-if="note.cw && !showContent"