Remove darkmode switch hotkey

Signed-off-by: limepotato <limepot@protonmail.ch>
This commit is contained in:
Pyrox 2024-02-25 16:01:37 -05:00 committed by limepotato
parent 4fc2eaccab
commit 2d37e445d0
2 changed files with 0 additions and 8 deletions

View file

@ -113,10 +113,6 @@ export default defineComponent({
computed: { computed: {
keymap(): any { keymap(): any {
return { return {
d: () => {
if (ColdDeviceStorage.get("syncDeviceDarkMode")) return;
this.$store.set("darkMode", !this.$store.state.darkMode);
},
"h|/": this.help, "h|/": this.help,
}; };
}, },

View file

@ -118,10 +118,6 @@ let isDesktop = $ref(window.innerWidth >= DESKTOP_THRESHOLD),
const keymap = $computed(() => { const keymap = $computed(() => {
return { return {
d: () => {
if (ColdDeviceStorage.get("syncDeviceDarkMode")) return;
defaultStore.set("darkMode", !defaultStore.state.darkMode);
},
}; };
}); });