tts播报-唤醒查询事件面板内容
This commit is contained in:
@@ -258,14 +258,10 @@ class V2XEventPanelFragment : MvpFragment<V2XEventPanelFragment, EventPanelPrese
|
||||
fun showPanelWithSelectedItem(item: Int) {
|
||||
mV2XShareEventsFragment.fromVoice = true
|
||||
if (isPanelShow()) {
|
||||
if (mRbScenarioHistory?.isChecked == true) {
|
||||
mV2XScenarioHistoryFragment.ttsForVoiceCheckout()
|
||||
}
|
||||
if (mRbSurroundingEvent?.isChecked == true) {
|
||||
mV2XSurroundingFragment.ttsForVoiceCheckout()
|
||||
}
|
||||
if (mRbShareEvents?.isChecked == true) {
|
||||
mV2XShareEventsFragment.ttsForVoiceCheck()
|
||||
when (item) {
|
||||
0 -> mV2XScenarioHistoryFragment.ttsForVoiceCheckout()
|
||||
1 -> mV2XSurroundingFragment.ttsForVoiceCheckout()
|
||||
else -> mV2XShareEventsFragment.ttsForVoiceCheck()
|
||||
}
|
||||
} else {
|
||||
showPanel()
|
||||
|
||||
Reference in New Issue
Block a user