From 6aa4a43ca1ba19ed9833c85405d3e9aa82fe0b88 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Wed, 29 Mar 2023 13:38:59 -0700 Subject: [PATCH] fix sounds settings --- custom/assets/sounds/None.mp3 | 3 --- packages/client/src/pages/settings/sounds.vue | 5 ++--- packages/client/src/store.ts | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) delete mode 100644 custom/assets/sounds/None.mp3 diff --git a/custom/assets/sounds/None.mp3 b/custom/assets/sounds/None.mp3 deleted file mode 100644 index 3754e0e0a..000000000 --- a/custom/assets/sounds/None.mp3 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f54c2bc32ad7db09212b58ea11369b925ec1acf51c300ec7000156178dedd7af -size 1551 diff --git a/packages/client/src/pages/settings/sounds.vue b/packages/client/src/pages/settings/sounds.vue index 13ebfcee3..afacf770b 100644 --- a/packages/client/src/pages/settings/sounds.vue +++ b/packages/client/src/pages/settings/sounds.vue @@ -6,11 +6,11 @@ - + {{ i18n.t('_sfx.' + type) }} - + {{ i18n.ts.default }} @@ -21,7 +21,6 @@ import { computed, ref } from 'vue'; import FormRange from '@/components/form/range.vue'; import FormButton from '@/components/MkButton.vue'; -import FormLink from '@/components/form/link.vue'; import FormSection from '@/components/form/section.vue'; import * as os from '@/os'; import { ColdDeviceStorage } from '@/store'; diff --git a/packages/client/src/store.ts b/packages/client/src/store.ts index 6c0398ac4..ec171ab69 100644 --- a/packages/client/src/store.ts +++ b/packages/client/src/store.ts @@ -319,7 +319,7 @@ export class ColdDeviceStorage { plugins: [] as Plugin[], mediaVolume: 0.5, sound_masterVolume: 0.3, - sound_note: { type: "None", volume: 0 }, + sound_note: { type: "none", volume: 0 }, sound_noteMy: { type: "syuilo/up", volume: 1 }, sound_notification: { type: "syuilo/pope2", volume: 1 }, sound_chat: { type: "syuilo/pope1", volume: 1 },