From 592d2c1f1f0ee5d99aeffc26c716cdc2b73f360c Mon Sep 17 00:00:00 2001 From: Vasavi Kanamarlapudi Date: Wed, 21 Aug 2024 13:39:35 +0530 Subject: [PATCH] Digital ACT-191 CXTDT-603719 defect: Added fix for pagination caret icon --- VDS/Components/Carousel/Carousel.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/VDS/Components/Carousel/Carousel.swift b/VDS/Components/Carousel/Carousel.swift index 9e14d3d3..e1f32532 100644 --- a/VDS/Components/Carousel/Carousel.swift +++ b/VDS/Components/Carousel/Carousel.swift @@ -162,19 +162,19 @@ open class Carousel: View { /// Previous button to show previous slide. private var previousButton = ButtonIcon().with { $0.kind = .lowContrast - $0.iconName = .leftCaret + $0.iconName = .paginationLeftCaret $0.iconOffset = .init(x: -2, y: 0) $0.customContainerSize = UIDevice.isIPad ? 40 : 28 - $0.icon.customSize = UIDevice.isIPad ? 16 : 12 + $0.customIconSize = UIDevice.isIPad ? 16 : 12 } /// Next button to show next slide. private var nextButton = ButtonIcon().with { $0.kind = .lowContrast - $0.iconName = .rightCaret + $0.iconName = .paginationRightCaret $0.iconOffset = .init(x: 2, y: 0) $0.customContainerSize = UIDevice.isIPad ? 40 : 28 - $0.icon.customSize = UIDevice.isIPad ? 16 : 12 + $0.customIconSize = UIDevice.isIPad ? 16 : 12 } /// A publisher for when moving the carousel. Passes parameters selectedGroupIndex (position).