From 3518058905b473051f3829ff9759cf1848efaf4d Mon Sep 17 00:00:00 2001 From: Camilla Ett Date: Thu, 28 Sep 2023 17:03:00 +0900 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20=E3=82=AF=E3=83=A9=E3=82=A4?= =?UTF-8?q?=E3=82=A2=E3=83=B3=E3=83=88=E8=A8=AD=E5=AE=9A=E3=81=8B=E3=82=89?= =?UTF-8?q?13.7.0=E3=81=A7=E5=89=8A=E9=99=A4=E3=81=95=E3=82=8C=E3=81=9F?= =?UTF-8?q?=E3=83=81=E3=83=A3=E3=83=83=E3=83=88=E6=A9=9F=E8=83=BD=E3=81=AB?= =?UTF-8?q?=E9=96=A2=E3=81=99=E3=82=8B=E3=82=B5=E3=82=A6=E3=83=B3=E3=83=89?= =?UTF-8?q?=E8=A8=AD=E5=AE=9A=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/pages/settings/sounds.vue | 4 +--- packages/frontend/src/scripts/sound.ts | 8 -------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/packages/frontend/src/pages/settings/sounds.vue b/packages/frontend/src/pages/settings/sounds.vue index b6ac17ed4f..819e7ffe53 100644 --- a/packages/frontend/src/pages/settings/sounds.vue +++ b/packages/frontend/src/pages/settings/sounds.vue @@ -38,14 +38,12 @@ import { definePageMetadata } from '@/scripts/page-metadata.js'; const masterVolume = computed(soundConfigStore.makeGetterSetter('sound_masterVolume')); -const soundsKeys = ['note', 'noteMy', 'notification', 'chat', 'chatBg', 'antenna', 'channel'] as const; +const soundsKeys = ['note', 'noteMy', 'notification', 'antenna', 'channel'] as const; const sounds = ref>>({ note: soundConfigStore.reactiveState.sound_note, noteMy: soundConfigStore.reactiveState.sound_noteMy, notification: soundConfigStore.reactiveState.sound_notification, - chat: soundConfigStore.reactiveState.sound_chat, - chatBg: soundConfigStore.reactiveState.sound_chatBg, antenna: soundConfigStore.reactiveState.sound_antenna, channel: soundConfigStore.reactiveState.sound_channel, }); diff --git a/packages/frontend/src/scripts/sound.ts b/packages/frontend/src/scripts/sound.ts index 1ef41b47d3..c7b5328618 100644 --- a/packages/frontend/src/scripts/sound.ts +++ b/packages/frontend/src/scripts/sound.ts @@ -27,14 +27,6 @@ export const soundConfigStore = markRaw(new Storage('sound', { where: 'account', default: { type: 'syuilo/n-ea', volume: 1 }, }, - sound_chat: { - where: 'account', - default: { type: 'syuilo/pope1', volume: 1 }, - }, - sound_chatBg: { - where: 'account', - default: { type: 'syuilo/waon', volume: 1 }, - }, sound_antenna: { where: 'account', default: { type: 'syuilo/triple', volume: 1 },