Update MatchActivity.kt

This commit is contained in:
adrienmalin 2019-05-13 19:12:41 +02:00
parent 720795cfd6
commit 15c582e7e3

View File

@ -130,7 +130,9 @@ class MatchActivity : AppCompatActivity() {
if (matchPoint) scoreSpeech += getString(R.string.match_point)
say(scoreSpeech)
}
if (sttEnabled and !ttsEnabled) SttDialog().show(supportFragmentManager, "SttDialog")
else {
if (sttEnabled) SttDialog().show(supportFragmentManager, "SttDialog")
}
}
}
}