mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 09:27:31 -07:00
Remove darkmode switch hotkey
Signed-off-by: limepotato <limepot@protonmail.ch>
This commit is contained in:
parent
4fc2eaccab
commit
2d37e445d0
2 changed files with 0 additions and 8 deletions
|
@ -113,10 +113,6 @@ export default defineComponent({
|
|||
computed: {
|
||||
keymap(): any {
|
||||
return {
|
||||
d: () => {
|
||||
if (ColdDeviceStorage.get("syncDeviceDarkMode")) return;
|
||||
this.$store.set("darkMode", !this.$store.state.darkMode);
|
||||
},
|
||||
"h|/": this.help,
|
||||
};
|
||||
},
|
||||
|
|
|
@ -118,10 +118,6 @@ let isDesktop = $ref(window.innerWidth >= DESKTOP_THRESHOLD),
|
|||
|
||||
const keymap = $computed(() => {
|
||||
return {
|
||||
d: () => {
|
||||
if (ColdDeviceStorage.get("syncDeviceDarkMode")) return;
|
||||
defaultStore.set("darkMode", !defaultStore.state.darkMode);
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue