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