diff --git a/BottomPopup.podspec b/BottomPopup.podspec index 8ba789c..88efb4e 100644 --- a/BottomPopup.podspec +++ b/BottomPopup.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "BottomPopup" - s.version = "0.7.0" + s.version = "0.7.1" s.summary = "BottomPopup provides a popup-like presentation style to any view controller" s.homepage = "https://github.com/ergunemr/BottomPopup" diff --git a/BottomPopup/BottomPopupController/BottomPopupTransitionHandler.swift b/BottomPopup/BottomPopupController/BottomPopupTransitionHandler.swift index cdd9060..023405c 100644 --- a/BottomPopup/BottomPopupController/BottomPopupTransitionHandler.swift +++ b/BottomPopup/BottomPopupController/BottomPopupTransitionHandler.swift @@ -44,6 +44,7 @@ final class BottomPopupTransitionHandler: NSObject, UIViewControllerTransitionin } func animationController(forDismissed dismissed: UIViewController) -> UIViewControllerAnimatedTransitioning? { + bottomPopupPresentationController = nil return dismissAnimator }