From 09aba055a59af4c33627f4316b6d7dc533c3e808 Mon Sep 17 00:00:00 2001 From: vasavk Date: Fri, 14 Jun 2024 18:05:06 +0530 Subject: [PATCH] Digital ACT-191 ONEAPP-7013 story: changes to pagination inset --- VDSSample/ViewControllers/CarouselViewController.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/VDSSample/ViewControllers/CarouselViewController.swift b/VDSSample/ViewControllers/CarouselViewController.swift index 02df53a..94b6553 100644 --- a/VDSSample/ViewControllers/CarouselViewController.swift +++ b/VDSSample/ViewControllers/CarouselViewController.swift @@ -121,7 +121,7 @@ class CarouselViewController: BaseViewController { if let number { self?.component.paginationInset = number.cgFloatValue } else { - self?.component.paginationInset = UIDevice.isIPad ? VDSLayout.space12X : VDSLayout.space8X + self?.component.paginationInset = UIDevice.isIPad ? VDSLayout.space3X : VDSLayout.space2X } }.store(in: &subscribers) @@ -141,8 +141,7 @@ class CarouselViewController: BaseViewController { layoutPickerSelectorView.text = component.layout.rawValue paginationKindPickerSelectorView.text = ButtonIcon.Kind.lowContrast.rawValue paginationFloatingSwitch.isOn = true - paginationInsetField.text = UIDevice.isIPad ? "12px" : "8px" - paginationInsetField.isUserInteractionEnabled = false + paginationInsetField.text = UIDevice.isIPad ? "12" : "8" component.data = [{},{},{},{},{},{},{},{}] }