From ed34ae3c192de2d4ec5b7eb70e184b814a0ad2de Mon Sep 17 00:00:00 2001 From: Kevin G Christiano Date: Thu, 2 Apr 2020 11:12:15 -0400 Subject: [PATCH] removed code that was breaking --- .../Atoms/Views/CarouselIndicator/BarsIndicatorView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVMCoreUI/Atomic/Atoms/Views/CarouselIndicator/BarsIndicatorView.swift b/MVMCoreUI/Atomic/Atoms/Views/CarouselIndicator/BarsIndicatorView.swift index d9cfaf50..0435e84d 100644 --- a/MVMCoreUI/Atomic/Atoms/Views/CarouselIndicator/BarsIndicatorView.swift +++ b/MVMCoreUI/Atomic/Atoms/Views/CarouselIndicator/BarsIndicatorView.swift @@ -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 }