tts web version always return null on stop(), don't log error
This commit is contained in:
parent
985ccfe30d
commit
c028f64f60
1 changed files with 1 additions and 1 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue