Digital ACT-191 ONEAPP-7013 story: renamed selectedIndex to groupIndex

This commit is contained in:
Vasavi Kanamarlapudi 2024-07-19 11:18:15 +05:30
parent e89acb3c12
commit a96f3509e3

View File

@ -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)