Stop queue animation on completion
This commit is contained in:
parent
1f752263c5
commit
e3cc6ee41f
|
|
@ -308,6 +308,9 @@ func buildJobItem(
|
||||||
if job.Status == queue.JobStatusRunning {
|
if job.Status == queue.JobStatusRunning {
|
||||||
progress.SetActivity(job.Progress <= 0.01)
|
progress.SetActivity(job.Progress <= 0.01)
|
||||||
progress.StartAnimation()
|
progress.StartAnimation()
|
||||||
|
} else {
|
||||||
|
progress.SetActivity(false)
|
||||||
|
progress.StopAnimation()
|
||||||
}
|
}
|
||||||
progressWidget := progress
|
progressWidget := progress
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user