fix(anki): separate word audio mapping for animation sync (#256)

This commit is contained in:
sudacode authored and GitHub committed 2026-09-20 22:07:30 -07:00
1 parent 8097ed27e5
commit 05425cc5db
17 files changed
+97 -10

No files matched your search

+2 -2
View File
@@ -97,8 +97,8 @@ export async function resolveAnimatedImageLeadInSeconds<TNoteInfo extends NoteIn
const wordAudioFieldName = resolveConfiguredFieldName(
noteInfo,
config.fields?.audio,
DEFAULT_ANKI_CONNECT_CONFIG.fields.audio,
config.fields?.wordAudio,
DEFAULT_ANKI_CONNECT_CONFIG.fields.wordAudio,
);
if (!wordAudioFieldName) {
return 0;