     private func updateStatusBarText(isReachable: Bool) {
         // set custom status bar text, if any
         if StatusBarOverlay.customStatusBarText != nil && isReachable == false {
-            StatusBarOverlay.shared.statusBarOverlayViewController?.setStatusBarText(text: StatusBarOverlay.customStatusBarText! + (StatusBarOverlay.hasNotch() ? "" : " - \(StatusBarOverlay.defaultText)"))
+            StatusBarOverlay.shared.statusBarOverlayViewController?.setStatusBarText(text: StatusBarOverlay.customStatusBarText! + (StatusBarOverlay.hasNotch ? "" : " - \(StatusBarOverlay.defaultText)"))
         }
         else if StatusBarOverlay.customStatusBarText != nil {
             StatusBarOverlay.shared.statusBarOverlayViewController?.setStatusBarText(text: StatusBarOverlay.customStatusBarText)
         }
         else {
-            StatusBarOverlay.shared.statusBarOverlayViewController?.setStatusBarText(text: (StatusBarOverlay.hasNotch() ? StatusBarOverlay.defaultNotchText : StatusBarOverlay.defaultText))
+            StatusBarOverlay.shared.statusBarOverlayViewController?.setStatusBarText(text: (StatusBarOverlay.hasNotch ? StatusBarOverlay.defaultNotchText : StatusBarOverlay.defaultText))
         }
     }
     

            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)
            }

        if let reachability = StatusBarOverlay.shared.reachability {
            StatusBarOverlay.shared.networkStatusChanged(reachability.networkReachabilityStatus, animated: true)
        }
    }
    
    func networkStatusChanged(_ status: NetworkReachabilityManager.NetworkReachabilityStatus, animated: Bool) {
