diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index 1c8bbfafd1..909c5c8f9d 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -137,27 +137,6 @@ import { claimAchievement } from '@/scripts/achievements.js'; const modal = inject('modal'); let gamingType = computed(defaultStore.makeGetterSetter('gamingType')); -const gamingMode = computed(defaultStore.makeGetterSetter('gamingMode')); -const darkMode = computed(defaultStore.makeGetterSetter('darkMode')); - -if (darkMode.value && gamingMode.value == true) { - gaming.value = 'dark'; -} else if (!darkMode.value && gamingMode.value == true) { - gaming.value = 'light'; -} else { - gaming.value = ''; -} - -watch(darkMode, () => { - - if (darkMode.value && gamingMode.value == true) { - gaming.value = 'dark'; - } else if (!darkMode.value && gamingMode.value == true) { - gaming.value = 'light'; - } else { - gaming.value = ''; - } -}) const props = withDefaults(defineProps<{ reply?: Misskey.entities.Note;