mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix TTS target API change
This commit is contained in:
parent
cbe5c4ae4e
commit
9034a08b5e
1 changed files with 2 additions and 4 deletions
|
|
@ -135,10 +135,8 @@ impl ActionApi for CheckBoxes {
|
||||||
#[cfg(feature = "tts")]
|
#[cfg(feature = "tts")]
|
||||||
{
|
{
|
||||||
self.tts.tts_blocking(t!("checkbox.select_and_close_tts", locales::LANG)).unwrap();
|
self.tts.tts_blocking(t!("checkbox.select_and_close_tts", locales::LANG)).unwrap();
|
||||||
for item in self.action_payload.clone().payload().iter() {
|
for name in self.action_payload.clone().payload().iter() {
|
||||||
if let Some(name) = item {
|
self.tts.tts_blocking(name.as_str()).unwrap();
|
||||||
self.tts.tts_blocking(name.as_str()).unwrap();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue