|
|
|
@ -154,8 +154,8 @@ class TextActionMenu(private val context: Context, private val callBack: CallBac |
|
|
|
|
|
|
|
|
|
@SuppressLint("SetJavaScriptEnabled") |
|
|
|
|
private fun readAloud(text: String) { |
|
|
|
|
if (textToSpeech == null) { |
|
|
|
|
lastText = text |
|
|
|
|
if (textToSpeech == null) { |
|
|
|
|
textToSpeech = TextToSpeech(context, this) |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|