     private static var _prefersStatusBarHidden = false
     @objc public static var prefersStatusBarHidden: Bool {
         get {
-            return (StatusBarOverlay.hasNotch() == false || prefersStatusBarNotchHidden) && _prefersStatusBarHidden && prefersNoConnectionBarHidden
+            return (StatusBarOverlay.hasNotch == false || prefersStatusBarNotchHidden) && _prefersStatusBarHidden && prefersNoConnectionBarHidden
         }
         set {
             _prefersStatusBarHidden = newValue

        self.statusBarOverlayViewController?.setStatusBarTextColor(color: StatusBarOverlay.defaultTextColor)
        self.statusBarOverlayViewController?.setStatusBarBackgroundColor(color: StatusBarOverlay.defaultBackgroundColor)
        

        NotificationCenter.default.addObserver(forName: UIApplication.willEnterForegroundNotification, object: nil, queue: OperationQueue.main) { note in
            if let reachability = StatusBarOverlay.shared.reachability {

            DispatchQueue.main.async {
                // update window frame
                guard let strongSelf = self else { return }
                var height: CGFloat = StatusBarOverlay.isReachable ? 0 : (StatusBarOverlay.hasNotch ? 44 :  20)
                height += StatusBarOverlay.hasMessage ? 44 : 0
                strongSelf.frame = CGRect(x: 0, y: 0, width: UIScreen.main.bounds.size.width, height: height)
            }
