Skip to content

Commit 7dbcc47

Browse files
authored
Merge branch 'main' into fix/only-one-chunk-available
2 parents dc467e5 + 6f684c1 commit 7dbcc47

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/react-native-executorch/src/controllers/SpeechToTextController.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ export class SpeechToTextController {
279279

280280
// if last chunk is too short combine it with second to last to improve quality
281281
private validateAndFixLastChunk() {
282+
282283
if (this.chunks.length < 2) return;
283284

284285
const lastChunkLength = this.chunks.at(-1)!.length / SECOND;

0 commit comments

Comments
 (0)