SetTotal sets completed once
Vladimir Bauer
7 years ago
1 changed file(s) with
1 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+1
-1
bar.go
less
more
208
208
if total > 0 {
209
209
s.total = total
210
210
}
211
if final {
211
if final && !s.toComplete {
212
212
s.current = s.total
213
213
s.toComplete = true
214
214
go b.forceRefresh()