mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-16 10:09:28 +02:00
Fixed completed progress bar showing empty
This commit is contained in:
parent
0d04b73338
commit
fa316b3025
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ func (p Progress) FromImportResult(result ImportResult) Progress {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p Progress) Complete() Progress {
|
func (p Progress) Complete() Progress {
|
||||||
p.Total = p.Elapsed
|
p.Elapsed = p.Total
|
||||||
p.Completed = true
|
p.Completed = true
|
||||||
return p
|
return p
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue