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

            options: .beginFromCurrentState
        ) {
            animations()
        } completion: { _ in
            completion()
        }
    }
}


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