stable
This commit is contained in:
parent
f7f15c906f
commit
ef5f864a02
@ -105,7 +105,10 @@ open class BarsIndicatorView: CarouselIndicator {
|
||||
|
||||
public override func updateUI(previousIndex: Int, newIndex: Int, totalCount: Int, isAnimated: Bool) {
|
||||
|
||||
guard !barReferences.isEmpty else { return }
|
||||
guard !barReferences.isEmpty else {
|
||||
generateBars()
|
||||
return
|
||||
}
|
||||
|
||||
let expression = {
|
||||
self.barReferences[previousIndex].view.backgroundColor = self.indicatorTintColor
|
||||
|
||||
Loading…
Reference in New Issue
Block a user