diff --git a/Tusker/Screens/Large Image/Transitions/LargeImageExpandAnimationController.swift b/Tusker/Screens/Large Image/Transitions/LargeImageExpandAnimationController.swift index 3d1ff9871b..c0dc4941ae 100644 --- a/Tusker/Screens/Large Image/Transitions/LargeImageExpandAnimationController.swift +++ b/Tusker/Screens/Large Image/Transitions/LargeImageExpandAnimationController.swift @@ -38,7 +38,7 @@ extension LargeImageAnimatableViewController { class LargeImageExpandAnimationController: NSObject, UIViewControllerAnimatedTransitioning { func transitionDuration(using transitionContext: UIViewControllerContextTransitioning?) -> TimeInterval { - return 0.5 + return 0.4 } func animateTransition(using transitionContext: UIViewControllerContextTransitioning) { @@ -90,7 +90,7 @@ class LargeImageExpandAnimationController: NSObject, UIViewControllerAnimatedTra let duration = transitionDuration(using: transitionContext) let velocity = 1 / CGFloat(duration) - UIView.animate(withDuration: duration, delay: 0, usingSpringWithDamping: 0.65, initialSpringVelocity: velocity, options: []) { + UIView.animate(withDuration: duration, delay: 0, usingSpringWithDamping: 0.75, initialSpringVelocity: velocity, options: []) { imageView.frame = finalFrame imageView.layer.cornerRadius = 0 toVC.view.alpha = 1