        if autoHide && CGFloat((activity?.alpha)!) >= 1.0 {
            if afterDelay {
                activity?.hide(true, afterDelay: 1.0)
            }else {
                activity?.hide(true)
            }
        }
    }
    
    func hideIndicator() {
        
        activity?.hide(true)
    }