             options: .beginFromCurrentState
         ) {
             animations()
-        } completion: { _ in
-            completion()
+        } completion: {
+            completion?($0)
         }
     }
 }

    public static func animateFromCurrentState(
        duration: TimeInterval = .fast,
        animations: @escaping () -> Void,
        completion: @escaping () -> Void = {}
    ) {
        UIView.animate(
            withDuration: duration,


        UIView.transition(with: self, duration: duration, options: options) {
            animations()
        } completion: {
            completion?($0)
        }
    }
}
