Emmanuel Castellani

Use duration property in counting label in order to have the same duration in both animations

... ... @@ -157,7 +157,7 @@ displayCountingLabel:(BOOL)displayCountingLabel
[_circle addAnimation:pathAnimation forKey:@"strokeEndAnimation"];
_circle.strokeEnd = [_current floatValue] / [_total floatValue];
[_countingLabel countFrom:0 to:[_current floatValue] withDuration:1.0];
[_countingLabel countFrom:0 to:[_current floatValue] withDuration:self.duration];
// Check if user wants to add a gradient from the start color to the bar color
... ...