This commit is contained in:
mattyatea 2023-10-28 06:17:09 +09:00
parent f4bc2e8291
commit edc475d232
1 changed files with 0 additions and 21 deletions

View File

@ -137,27 +137,6 @@ import { claimAchievement } from '@/scripts/achievements.js';
const modal = inject('modal'); const modal = inject('modal');
let gamingType = computed(defaultStore.makeGetterSetter('gamingType')); 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<{ const props = withDefaults(defineProps<{
reply?: Misskey.entities.Note; reply?: Misskey.entities.Note;