Merge pull request #1419 from albertgasset/MOBILE-2524
MOBILE-2524 emulator: Fix writing files in chunksmain
commit
72707833b8
|
@ -747,7 +747,7 @@ export class FileMock extends File {
|
|||
|
||||
return new Promise<any>((resolve, reject): void => {
|
||||
writer.onerror = reject;
|
||||
writer.onwrite = (): void => {
|
||||
writer.onwriteend = (): void => {
|
||||
if (writtenSize < data.size) {
|
||||
writeNextChunk();
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue