Digital ACT-191 ONEAPP-7013 story: renamed selectedIndex to groupIndex
This commit is contained in:
parent
e89acb3c12
commit
a96f3509e3
@ -89,9 +89,9 @@ class CarouselViewController: BaseViewController<Carousel> {
|
||||
.numberPublisher
|
||||
.sink { [weak self] number in
|
||||
if let number, number.intValue >= 0 {
|
||||
self?.component.selectedIndex = number.intValue
|
||||
self?.component.groupIndex = number.intValue
|
||||
} else {
|
||||
self?.component.selectedIndex = nil
|
||||
self?.component.groupIndex = nil
|
||||
}
|
||||
}.store(in: &subscribers)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user