         fileprivate var contentView: UIView?
         fileprivate var autoHidden: Bool = false
         fileprivate var hiddenTimeInterval: TimeInterval = 0
-        /// interval until hiding set by `setInterval(_:)`
-        private var _hiddenTimeInterval: TimeInterval = 0 {
-            didSet {
-                hiddenTimeInterval = _hiddenTimeInterval
-            }
-        }
         fileprivate var contentHeight: CGFloat {
             return noticeView.bounds.height
         }

        }
        
        func hideIfNeeded(_ animated: Bool) {
            if autoHidden == true && hiddenTimeInterval <= 0 {
                hide(animated)
            }
        }

        }
        
        func setInterval(_ interval: TimeInterval) {
            hiddenTimeInterval = interval
            
            if interval >= 0 {
                autoHidden = true
