From 9b20c61de4c69af16409b63ca76081afc2786c4f Mon Sep 17 00:00:00 2001 From: Marie Date: Sun, 14 Jul 2024 03:51:46 -0600 Subject: [PATCH] fix: like button not playing reaction sound Signed-off-by: limepotato --- packages/client/src/components/MkNote.vue | 1 + packages/client/src/components/MkNoteDetailed.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index c4b036aee..5d664306d 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -374,6 +374,7 @@ useNoteCapture({ function reply(viaKeyboard = false): void { pleaseLogin(); + sound.play('reaction'); os.post( { reply: appearNote, diff --git a/packages/client/src/components/MkNoteDetailed.vue b/packages/client/src/components/MkNoteDetailed.vue index 40ff7d1e1..44779d9f1 100644 --- a/packages/client/src/components/MkNoteDetailed.vue +++ b/packages/client/src/components/MkNoteDetailed.vue @@ -271,6 +271,7 @@ function reply(viaKeyboard = false): void { function react(viaKeyboard = false): void { pleaseLogin(); blur(); + sound.play('reaction'); reactionPicker.show( reactButton.value, (reaction) => {