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" removeRecipient: "Remove recipient"
removeMember: "Remove member" removeMember: "Remove member"
verifiedLink: "Verified link" verifiedLink: "Verified link"
noteHidden: "This note is hidden"
_sensitiveMediaDetection: _sensitiveMediaDetection:
description: "Reduces the effort of server moderation through automatically recognizing description: "Reduces the effort of server moderation through automatically recognizing

View file

@ -34,7 +34,7 @@
<i class="ph-lock ph-bold"></i> <i class="ph-lock ph-bold"></i>
</span> </span>
<Mfm <Mfm
v-if="note.cw != ''" v-if="note.cw != '' && showContent"
class="text" class="text"
:text="note.cw" :text="note.cw"
:author="note.user" :author="note.user"
@ -59,7 +59,7 @@
v-model="collapsed" v-model="collapsed"
v-on:keydown="focusFooter" v-on:keydown="focusFooter"
></XShowMoreButton> ></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 <XCwButton
ref="cwButton" ref="cwButton"
v-if="note.cw && !showContent" v-if="note.cw && !showContent"