remove native screen reader spam
This commit is contained in:
parent
bd34cfd43e
commit
a8320881ba
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ impl ScreenReader {
|
|||
|
||||
#[cfg(feature = "screen_reader")]
|
||||
pub fn speak(&mut self, text: &str) {
|
||||
if text.is_empty() {
|
||||
return;
|
||||
}
|
||||
if let Some(tts) = &mut self.tts {
|
||||
eprintln!("Speaking: {:?}", text);
|
||||
let interrupt = true;
|
||||
|
|
Loading…
Reference in a new issue