From 4469387e4d4c44b27edb4d048dff51fe4345f7d5 Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Thu, 9 Jul 2020 11:40:23 -0400 Subject: [PATCH] remove now unneeded code --- MVMCoreUI/Atomic/Organisms/Carousel.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/MVMCoreUI/Atomic/Organisms/Carousel.swift b/MVMCoreUI/Atomic/Organisms/Carousel.swift index 0ace27ff..4fb7b413 100644 --- a/MVMCoreUI/Atomic/Organisms/Carousel.swift +++ b/MVMCoreUI/Atomic/Organisms/Carousel.swift @@ -436,7 +436,6 @@ extension Carousel: UIScrollViewDelegate { // Disable peaking when dragging. dragging = true - guard !UIAccessibility.isVoiceOverRunning else { return } showPeaking(false) } @@ -444,7 +443,6 @@ extension Carousel: UIScrollViewDelegate { public func scrollViewWillEndDragging(_ scrollView: UIScrollView, withVelocity velocity: CGPoint, targetContentOffset: UnsafeMutablePointer) { dragging = false - guard !UIAccessibility.isVoiceOverRunning else { return } // This is for setting up smooth custom paging. (Since UICollectionView only handles paging based on collection view size and not cell size). Math requires that we are using UICollectionViewFlowLayout. guard (model as? CarouselModel)?.paging == true,