             navigationItem.titleView = UIView()
         }
         navigationBar.addUnderNavigationBarView(searchBarContainerView)
-        updateLanguageBarVisibility()
         navigationBar.isInteractiveHidingEnabled  = false
         view.bringSubview(toFront: resultsViewController.view)
         resultsViewController.view.isHidden = true

        resultsViewController.apply(theme: theme)
        view.backgroundColor = .clear
        collectionView.backgroundColor = theme.colors.paperBackground
        updateLanguageBarVisibility()
    }
    
    // Recent

    }
    
    private func updateLanguageBarVisibility() {
        let showLanguageBar = UserDefaults.wmf_userDefaults().wmf_showSearchLanguageBar()
        if  showLanguageBar && searchLanguageBarViewController == nil { // check this before accessing the view
            let searchLanguageBarViewController = setupLanguageBarViewController()
            addChildViewController(searchLanguageBarViewController)
            searchLanguageBarViewController.view.translatesAutoresizingMaskIntoConstraints = false
            navigationBar.addExtendedNavigationBarView(searchLanguageBarViewController.view)
            searchLanguageBarViewController.didMove(toParentViewController: self)
            searchLanguageBarViewController.view.isHidden = false
        } else if !showLanguageBar && searchLanguageBarViewController != nil {
            searchLanguageBarViewController?.willMove(toParentViewController: nil)
            navigationBar.removeExtendedNavigationBarView()
            searchLanguageBarViewController?.removeFromParentViewController()
