crash fix

This commit is contained in:
madwasp79 2019-06-25 15:49:17 +03:00
parent 223602ef20
commit ed5198dfb6

View file

@ -219,7 +219,6 @@ public class TTSCommandPlayerImpl extends AbstractPrologCommandPlayer {
if (mTts.isLanguageAvailable(Locale.getDefault()) > 0) {
mTts.setLanguage(Locale.getDefault());
} else {
//are there any tts language that available everywhere? ENGLISH maybe?
Toast.makeText(act, "TTS language not available", Toast.LENGTH_LONG).show();
}
}