         headerView.hasRoundCorners = hasRoundCorners
         headerView.alertBackgroundColor = alertBackgroundColor
         headerView.circleFillColor = circleFillColor
+        if circleFillColor == .clear {
+            headerHeight = constants.headerHeightWithoutCircle
+        }
         popupView.addSubview(headerView)
         headerView.translatesAutoresizingMaskIntoConstraints = false
         headerView.cd_alignTopToParent(with: 0)
         headerView.cd_alignLeftToParent(with: 0)
         headerView.cd_alignRightToParent(with: 0)
-        headerView.cd_setHeight(constants.headerHeight)
+        headerView.cd_setHeight(headerHeight)
     }
 
     private func createButtonContainer() {


    private struct CDAlertViewConstants {
        let headerHeight: CGFloat = 56
        let activeVelocity: CGFloat = 150
        let minVelocity: CGFloat = 300
        let separatorThickness: CGFloat = 1.0 / UIScreen.main.scale

    private var textField: UITextField = UITextField(frame: .zero)
    private var type: CDAlertViewType!
    weak private var hideTimer: Timer!
    public var headerHeight: CGFloat = CDAlertViewConstants().headerHeight
    
    private lazy var actions: [CDAlertViewAction] = [CDAlertViewAction]()

