Show hashtag symbol for Mute option in menu (#9942)

This commit is contained in:
surfdude29
2026-02-25 09:18:20 +00:00
committed by GitHub
parent 95bede2dcb
commit 85ffc77983
+8 -2
View File
@@ -148,7 +148,11 @@ export function RichTextTag({
</Menu.Group>
<Menu.Divider />
<Menu.Item
label={isMuted ? _(msg`Unmute ${tag}`) : _(msg`Mute ${tag}`)}
label={
isMuted
? _(msg`Unmute ${isCashtag ? tag : `#${tag}`}`)
: _(msg`Mute ${isCashtag ? tag : `#${tag}`}`)
}
onPress={() => {
if (isMuted) {
resetUpsert()
@@ -161,7 +165,9 @@ export function RichTextTag({
}
}}>
<Menu.ItemText>
{isMuted ? _(msg`Unmute ${tag}`) : _(msg`Mute ${tag}`)}
{isMuted
? _(msg`Unmute ${isCashtag ? tag : `#${tag}`}`)
: _(msg`Mute ${isCashtag ? tag : `#${tag}`}`)}
</Menu.ItemText>
<Menu.ItemIcon icon={isPreferencesLoading ? Loader : Mute} />
</Menu.Item>