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
|
.numberPublisher
|
||||||
.sink { [weak self] number in
|
.sink { [weak self] number in
|
||||||
if let number, number.intValue >= 0 {
|
if let number, number.intValue >= 0 {
|
||||||
self?.component.selectedIndex = number.intValue
|
self?.component.groupIndex = number.intValue
|
||||||
} else {
|
} else {
|
||||||
self?.component.selectedIndex = nil
|
self?.component.groupIndex = nil
|
||||||
}
|
}
|
||||||
}.store(in: &subscribers)
|
}.store(in: &subscribers)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user