forked from EVOgeek/Vmeda.Online
MOBILE-2524 emulator: Fix writing files in chunks
This commit is contained in:
parent
39ef7cf0e1
commit
b056329ee2
@ -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…
x
Reference in New Issue
Block a user