 
 import KINWebBrowser
 import Crashlytics
+
+class BottomBarNavController: ElloNavigationController, BottomBarController {
+    var bottomBarView = UIView()
+    var navigationBarsVisible: Bool = true
+    let bottomBarVisible: Bool = true
+    var bottomBarHeight: CGFloat { return 0 }
+
+    func setNavigationBarsVisible(_ visible: Bool, animated: Bool) {
+        navigationBarsVisible = visible
+    }
+}
 
 class ElloWebBrowserViewController: KINWebBrowserViewController {
     var toolbarHidden = false


    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        self.navigationController?.setToolbarHidden(toolbarHidden, animated: false)
    }

    override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(animated)
        UIApplication.shared.statusBarStyle = .default
        Crashlytics.sharedInstance().setObjectValue("ElloWebBrowser", forKey: CrashlyticsKey.streamName.rawValue)
        delegate = self
    }

    override func viewWillDisappear(_ animated: Bool) {
        super.viewWillDisappear(animated)
        UIApplication.shared.statusBarStyle = .lightContent
    }

    func shareButtonPressed(_ barButtonItem: UIBarButtonItem) {

        webBrowser.navigationItem.leftBarButtonItem = xButton
        webBrowser.navigationItem.rightBarButtonItem = shareButton
        webBrowser.actionButtonHidden = true
        return BottomBarNavController(rootViewController: webBrowser)
    }

    override class func navigationControllerWithWebBrowser() -> ElloNavigationController {
