     func updateIsReachable(_ isReachable: Bool, animated: Bool) {
         StatusBarOverlay.isReachable = isReachable
         self.isHidden = false
-        self.statusBarOverlayViewController?.setHasNotch(StatusBarOverlay.hasNotch())
+        self.statusBarOverlayViewController?.setHasNotch(StatusBarOverlay.hasNotch)
         
         if isReachable && StatusBarOverlay.customStatusBarText == nil {
             StatusBarOverlay.shared.statusBarOverlayViewController!.statusBarConstraintHeight.constant = 0

        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 {

            StatusBarOverlay.shared.statusBarOverlayViewController?.setShowStatusBarIconHidden(isReachable)
            self.updateStatusBarText(isReachable: isReachable)
            
            let statusBarHeight: CGFloat = StatusBarOverlay.hasNotch ? 44 :  20
            
            StatusBarOverlay.shared.statusBarOverlayViewController!.statusBarConstraintHeight.constant = statusBarHeight
            StatusBarOverlay.prefersNoConnectionBarHidden = false
