Skip to content

Commit

Permalink
チャンネル関係の設定を削除 (yojo-art#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
kozakura913 authored Jul 17, 2024
1 parent 5e0316d commit 6c40b8f
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion packages/frontend/src/pages/settings/general.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ SPDX-License-Identifier: AGPL-3.0-only
<FormSection>
<div class="_gaps_s">
<MkSwitch v-model="showFixedPostForm">{{ i18n.ts.showFixedPostForm }}</MkSwitch>
<MkSwitch v-model="showFixedPostFormInChannel">{{ i18n.ts.showFixedPostFormInChannel }}</MkSwitch>
<MkFolder>
<template #label>{{ i18n.ts.pinnedList }}</template>
<!-- 複数ピン止め管理できるようにしたいけどめんどいので一旦ひとつのみ -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ const defaultStoreSaveKeys: (keyof typeof defaultStore['state'])[] = [
'sound_chat',
'sound_chatBg',
'sound_antenna',
'sound_channel',
'sound_reaction',
];
const coldDeviceStorageSaveKeys: (keyof typeof ColdDeviceStorage.default)[] = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ const sounds = ref<Record<OperationType, Ref<SoundStore>>>({
chat: defaultStore.reactiveState.sound_chat,
chatBg: defaultStore.reactiveState.sound_chatBg,
antenna: defaultStore.reactiveState.sound_antenna,
channel: defaultStore.reactiveState.sound_channel,
reaction: defaultStore.reactiveState.sound_reaction,
});

Expand Down
1 change: 0 additions & 1 deletion packages/frontend/src/pages/settings/timeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ SPDX-License-Identifier: AGPL-3.0-only
<div class="_gaps_m">
<MkSwitch v-model="enableListTimeline"><i class="ti ti-list"></i> {{ i18n.ts.lists }}</MkSwitch>
<MkSwitch v-model="enableAntennaTimeline"><i class="ti ti-antenna"></i> {{ i18n.ts.antennas }}</MkSwitch>
<MkSwitch v-model="enableChannelTimeline"><i class="ti ti-device-tv"></i> {{ i18n.ts.channel }}</MkSwitch>
</div>
</FormSection>

Expand Down
1 change: 0 additions & 1 deletion packages/frontend/src/scripts/sound.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ export const operationTypes = [
'chat',
'chatBg',
'antenna',
'channel',
'notification',
'reaction',
] as const;
Expand Down
4 changes: 0 additions & 4 deletions packages/frontend/src/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -518,10 +518,6 @@ export const defaultStore = markRaw(new Storage('base', {
where: 'device',
default: { type: 'syuilo/triple', volume: 1 } as SoundStore,
},
sound_channel: {
where: 'device',
default: { type: 'syuilo/square-pico', volume: 1 } as SoundStore,
},
sound_reaction: {
where: 'device',
default: { type: 'syuilo/bubble2', volume: 1 } as SoundStore,
Expand Down

0 comments on commit 6c40b8f

Please sign in to comment.