mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-08 07:00:54 +03:00
added indefinite progress mode
This commit is contained in:
@@ -20,6 +20,10 @@ export default class FileSender extends Nanobus {
|
||||
return this.progress[0] / this.progress[1];
|
||||
}
|
||||
|
||||
get progressIndefinite() {
|
||||
return ['fileSizeProgress', 'notifyUploadDone'].indexOf(this.msg) === -1;
|
||||
}
|
||||
|
||||
get sizes() {
|
||||
return {
|
||||
partialSize: bytes(this.progress[0]),
|
||||
|
||||
Reference in New Issue
Block a user