Commit b66050a9 by Kunj Gupta

Fixed - Minus speaking issue.

parent ac4279a9
...@@ -47,7 +47,7 @@ public class Speaker implements TextToSpeech.OnInitListener { ...@@ -47,7 +47,7 @@ public class Speaker implements TextToSpeech.OnInitListener {
public void speak(String text) { public void speak(String text) {
//remove all special characters. //remove all special characters.
String speakText = text.replaceAll("---*", ""); String speakText = text.replaceAll("--*", " ");
// Speak only if the TTS is ready // Speak only if the TTS is ready
// and the user has allowed speech // and the user has allowed speech
if (ready && allowed) { if (ready && allowed) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment