diff --git a/app/pages/learn.vue b/app/pages/learn.vue index e98bd3a..2502c45 100644 --- a/app/pages/learn.vue +++ b/app/pages/learn.vue @@ -1804,7 +1804,7 @@ const ttsLoading = ref(false) const audioElement = ref(null) const sayCache = new Map() const pendingSayRequests = new Map>() -const audioReveal = ref(!cfg.value.audioChallenge) +const audioReveal = ref(true) const audioContentHidden = computed(() => cfg.value.audioChallenge && !audioReveal.value) @@ -1843,6 +1843,7 @@ type LearnConfig = { const defaultCfg: LearnConfig = { tts: false, radioLevel: 4, voice: '', audioChallenge: false } const cfg = ref({ ...defaultCfg }) +audioReveal.value = !cfg.value.audioChallenge if (isClient) { const storedCfg = readStorage<{ tts?: boolean; audioChallenge?: boolean }>('os_cfg', {})