This commit is contained in:
2026-01-21 22:39:08 +06:00
parent 595354b7f0
commit 65583b1564
50 changed files with 19946 additions and 99 deletions

View File

@@ -7,9 +7,9 @@ export default defineNuxtRouteMiddleware(async () => {
if (!me.value)
return
const { synced, toggleInputHotkey, toggleOutputHotkey } = usePreferences()
const { fetched, toggleInputHotkey, toggleOutputHotkey } = usePreferences()
if (synced.value)
if (fetched.value)
return
try {
@@ -20,7 +20,7 @@ export default defineNuxtRouteMiddleware(async () => {
toggleInputHotkey.value = preferences.toggleInputHotkey ?? toggleInputHotkey.value
toggleOutputHotkey.value = preferences.toggleOutputHotkey ?? toggleOutputHotkey.value
synced.value = true
fetched.value = true
}
catch {}
})