From 739f79c8d767fa01355f6a2b647e02f836615ca1 Mon Sep 17 00:00:00 2001 From: troyeguo <13820674+troyeguo@users.noreply.github.com> Date: Fri, 20 Mar 2026 18:28:07 +0800 Subject: [PATCH] feat: set audio paths when audio is on and reading is active --- src/components/textToSpeech/component.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/textToSpeech/component.tsx b/src/components/textToSpeech/component.tsx index d64acdb8..7a1c89c8 100644 --- a/src/components/textToSpeech/component.tsx +++ b/src/components/textToSpeech/component.tsx @@ -369,6 +369,7 @@ class TextToSpeech extends React.Component< } if (this.state.isAudioOn && this.props.isReading) { await TTSUtil.clearAudioPaths(); + TTSUtil.setAudioPaths(); let position = this.props.htmlBook.rendition.getPosition(); ConfigService.setObjectConfig( this.props.currentBook.key,