mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 22:20:55 +03:00
added indefinite progress mode
This commit is contained in:
@@ -18,6 +18,10 @@ export default class FileReceiver extends Nanobus {
|
||||
return this.progress[0] / this.progress[1];
|
||||
}
|
||||
|
||||
get progressIndefinite() {
|
||||
return this.state !== 'downloading';
|
||||
}
|
||||
|
||||
get sizes() {
|
||||
return {
|
||||
partialSize: bytes(this.progress[0]),
|
||||
|
||||
Reference in New Issue
Block a user