This commit is contained in:
kakkokari-gtyih 2025-02-01 20:54:19 +09:00
parent b1a17d485a
commit d9d4e25a7b
3 changed files with 3 additions and 3 deletions

View File

@ -491,7 +491,7 @@ function react(): void {
if (defaultStore.state.confirmOnReact) {
const confirm = await os.confirm({
type: 'question',
text: i18n.tsx.reactAreYouSure({ emoji: reaction }),
text: i18n.tsx.reactAreYouSure({ emoji: reaction.replace('@.', '') }),
});
if (confirm.canceled) return;

View File

@ -454,7 +454,7 @@ function react(): void {
if (defaultStore.state.confirmOnReact) {
const confirm = await os.confirm({
type: 'question',
text: i18n.tsx.reactAreYouSure({ emoji: reaction }),
text: i18n.tsx.reactAreYouSure({ emoji: reaction.replace('@.', '') }),
});
if (confirm.canceled) return;

View File

@ -93,7 +93,7 @@ async function toggleReaction() {
if (defaultStore.state.confirmOnReact) {
const confirm = await os.confirm({
type: 'question',
text: i18n.tsx.reactAreYouSure({ emoji: props.reaction }),
text: i18n.tsx.reactAreYouSure({ emoji: props.reaction.replace('@.', '') }),
});
if (confirm.canceled) return;