Skip to content

Commit

Permalink
Merge pull request #583 from betrusted-io/tts-fixup
Browse files Browse the repository at this point in the history
fix up a tts bug
  • Loading branch information
bunnie authored Sep 23, 2024
2 parents 2658c96 + a8f2e9d commit 32c5bad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/gam/src/modal/checkboxes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ 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.payload().iter() {
for item in self.action_payload.clone().payload().iter() {
if let Some(name) = item {
self.tts.tts_blocking(name.as_str()).unwrap();
}
Expand Down

0 comments on commit 32c5bad

Please sign in to comment.