         circlePath.append(tickPath)
         
         shapeLayer.path = circlePath.cgPath
-        shapeLayer.strokeColor = UIColor.green.cgColor
+        shapeLayer.strokeColor = shapeColor.cgColor
         shapeLayer.fillColor = UIColor.clear.cgColor
         shapeLayer.lineWidth = 2
         shapeLayer.strokeStart = 0.0

import MBProgressHUD

extension MBProgressHUD {
    @nonobjc public static var dl_textSize: CGFloat = 12
    
    public static func dl_setTextSize(_ textSize: CGFloat) {
        dl_textSize = textSize
    }
    
    private static let dl_contentMargin: CGFloat = 10
    
    /// Only show text on the view of current UIViewController.
    ///

        
        let hud = MBProgressHUD.showAdded(to: superView, animated: true)
        hud.mode = .customView
        hud.customView = dl_successView ?? SuccessShapeView(color: dl_successColor)
        hud.label.text = text
        hud.label.textColor = dl_textColor
        hud.label.font = UIFont.systemFont(ofSize: dl_textSize)
        hud.margin = dl_contentMargin
        hud.bezelView.backgroundColor = dl_backgroundColor
        hud.hide(animated: true, afterDelay: 2)
    }
    
