Skip to content

Commit

Permalink
Merge pull request #1395 from tomivm/fix/speak-on-tile-click-Ios
Browse files Browse the repository at this point in the history
Fix new IOS devices can't reproduce voice after first speak- Safari IOS and MacOS
  • Loading branch information
martinbedouret authored Mar 1, 2023
2 parents a961b31 + 09e8029 commit 1e44332
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/SpeechProvider/tts.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ const tts = {
msg.rate = rate;
msg.volume = volume;
msg.onend = onend;
synth.cancel();
synth.speak(msg);
}
}
Expand Down

0 comments on commit 1e44332

Please sign in to comment.