tts web version always return null on stop(), don't log error

This commit is contained in:
ggurdin 2024-10-22 15:01:07 -04:00
parent 985ccfe30d
commit c028f64f60
No known key found for this signature in database
GPG key ID: A01CB41737CBB478

View file

@ -96,7 +96,7 @@ class TtsController {
// return type is dynamic but apparent its supposed to be 1
// https://pub.dev/packages/flutter_tts
if (result != 1) {
if (result != 1 && !kIsWeb) {
ErrorHandler.logError(
m: 'Unexpected result from tts.speak',
data: {