We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8978435 + 30d0fc9 commit 02795c7Copy full SHA for 02795c7
lib/js/src/manager/screen/utils/_PresentAlertOperation.js
@@ -338,13 +338,11 @@ class _PresentAlertOperation extends _Task {
338
const alertAudioData = alertView.getAudio();
339
const ttsChunks = [];
340
341
- if (!this.supportsAlertAudioFile()) {
342
- for (const chunk of alertAudioData.getAudioData()) {
343
- if (chunk.getType() === SpeechCapabilities.FILE && !this.supportsAlertAudioFile()) {
344
- continue;
345
- }
346
- ttsChunks.push(chunk);
+ for (const chunk of alertAudioData.getAudioData()) {
+ if (chunk.getType() === SpeechCapabilities.FILE && !this.supportsAlertAudioFile()) {
+ continue;
347
}
+ ttsChunks.push(chunk);
348
349
350
return ttsChunks.length > 0 ? ttsChunks : null;
0 commit comments