                 progressLabel.isHidden = true
                 
                 imageView.image = infoImage ?? UIImage.bundleImage(named: "info")?.render(color: label.textColor)
-                animation = .none
+                loadingAnimation = .none
                 
                 addTimer()
                 

    
}

extension HUD {
    
    open func show(success: String?) {
        
        label.text = success
        
        state = .success
        
    }
    
    open func show(error: String?){
        
        label.text = error
        

    
}

public protocol HUDtable {
    
    var hud: HUD { get }
    
}

extension UIView: HUDtable {
    
    public var hud: HUD{
        
        var hud: HUD!
        for subview in subviews {
