minor changes

This commit is contained in:
Vasavi Kanamarlapudi 2024-07-19 17:01:24 +05:30
parent a96f3509e3
commit e250f204e8

View File

@ -78,7 +78,7 @@ class CarouselViewController: BaseViewController<Carousel> {
addFormRow(label: "Peek", view: peekPickerSelectorView)
addFormRow(label: "Gutter", view: gutterPickerSelectorView)
addFormRow(label: "Layout", view: layoutPickerSelectorView)
addFormRow(label: "Selected Group Index", view: selectedIndexField)
// addFormRow(label: "Selected Group Index", view: selectedIndexField)
addFormRow(label: "Pagination Kind", view: paginationKindPickerSelectorView)
addFormRow(label: "Pagination Float", view: paginationFloatingSwitch)
addFormRow(label: "Pagination Inset", view: paginationInsetField)
@ -91,7 +91,7 @@ class CarouselViewController: BaseViewController<Carousel> {
if let number, number.intValue >= 0 {
self?.component.groupIndex = number.intValue
} else {
self?.component.groupIndex = nil
self?.component.groupIndex = 0
}
}.store(in: &subscribers)