mirror of
https://github.com/koodo-reader/koodo-reader.git
synced 2026-06-16 11:50:41 -04:00
feat: set audio paths when audio is on and reading is active
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user