         hud.label.font = UIFont.systemFont(ofSize: dl_textSize)
         hud.margin = dl_contentMargin
         hud.bezelView.backgroundColor = dl_backgroundColor
-        hud.hide(animated: true, afterDelay: 2)
+        hud.hide(animated: true, afterDelay: dl_successDismissedDelay)
     }
     
     /// Show failure hud with message on the view of current UIViewController

    
    private func setup() {
        let size = self.frame.size
        let center = CGPoint(x: size.width/2, y: size.height/2)
        let radius = min(size.width/2, size.height/2)
        
        let circlePath = UIBezierPath(arcCenter: center, radius: radius, startAngle: CGFloat(Double.pi * 3 / 2), endAngle: CGFloat(Double.pi * 7 / 2), clockwise: true)
        circlePath.lineCapStyle = .round
        circlePath.lineJoinStyle = .round
        
        let rightPath = UIBezierPath()
        rightPath.move(to: CGPoint(x: center.x + radius / 3, y: center.y - radius / 3))
        rightPath.addLine(to: CGPoint(x: center.x - radius / 3, y: center.y + radius / 3))
        
        let leftPath = UIBezierPath()
        leftPath.move(to: CGPoint(x: center.x - radius / 3, y: center.y - radius / 3))
        leftPath.addLine(to: CGPoint(x: center.x + radius / 3, y: center.y + radius / 3))
        
        circlePath.append(rightPath)
        circlePath.append(leftPath)

    
    private func setup() {
        let size = self.frame.size
        let width = size.width
        let height = size.height
        let center = CGPoint(x: width/2, y: height/2)
        let radius = min(width/2, height/2)
        
        let circlePath = UIBezierPath(arcCenter: center, radius: radius, startAngle: CGFloat(Double.pi * 3 / 2), endAngle: CGFloat(Double.pi * 7 / 2), clockwise: true)
        circlePath.lineCapStyle = .round
        circlePath.lineJoinStyle = .round
        
        let tickPath = UIBezierPath()
        tickPath.move(to: CGPoint(x: width * 0.28, y: height * 0.53))
        tickPath.addLine(to: CGPoint(x: width * 0.42, y: height * 0.66))
        tickPath.addLine(to: CGPoint(x: width * 0.72, y: height * 0.36))
        
        circlePath.append(tickPath)
        
