 extension LoadingBanner {
     
     func dismissBanner() {
-        shouldShow = false
-        configureShowing({
+        showing = false
+        showBanner({
             self.errorMessage = nil
             self.loadingStackView.hidden = false
             self.errorStackView.hidden = true

    
    
    // MARK: - Public functions
    
    public func showError(message: String?) {
        errorMessage = message
        errorLabel.text = message
        errorStackView.hidden = false
        loadingStackView.hidden = true
        shouldShow = true
        configureShowing()
    }
    
    

}


        didSet {
            heightConstraint.constant = height
            layoutIfNeeded()
        }
    }
    
    @IBInspectable public var loadingText: String = "Loading…" {
        didSet {
            loadingLabel.text = loadingText
        }
    }
    
