removed code that was breaking

This commit is contained in:
Kevin G Christiano 2020-04-02 11:12:15 -04:00
parent 60ab87764b
commit ed34ae3c19

View File

@ -150,7 +150,7 @@ open class BarsIndicatorView: CarouselIndicator {
public override func updateUI(previousIndex: Int, newIndex: Int, totalCount: Int, isAnimated: Bool) {
guard !barReferences.isEmpty || totalCount != barReferences.count else {
guard !barReferences.isEmpty else {
generateBars()
return
}