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