mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-09 16:25:12 +03:00
new ui
This commit is contained in:
@@ -16,7 +16,7 @@ class FileReceiver extends EventEmitter {
|
||||
const percentComplete = Math.floor(
|
||||
event.loaded / event.total * 100
|
||||
);
|
||||
this.emit('progress', percentComplete);
|
||||
this.emit('progress', [event.loaded, event.total]);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user