             navigationController?.isToolbarHidden = true
         } else {
             navigationController?.isToolbarHidden = false
-            updateToolbarItems()
+            updateToolbarItems(forSyncTabs: viewModel.profile.hasSyncableAccount())
         }
     }
 

            TelemetryWrapper.recordEvent(category: .action, method: .tap, object: .libraryPanel, value: .syncPanel, extras: nil)
            if children.first == viewModel.tabTrayView {
                hideCurrentPanel()
                updateToolbarItems(forSyncTabs: true)
                showPanel(viewModel.syncedTabsController)
            }
        default:


    fileprivate func updateToolbarItems(forSyncTabs showSyncItems: Bool = false) {
        if UIDevice.current.userInterfaceIdiom == .pad {
            if navigationMenu.selectedSegmentIndex == 2 {
                navigationItem.rightBarButtonItem = (showSyncItems ? syncTabButton : nil)
                navigationItem.leftBarButtonItem = nil
            } else {
                navigationItem.rightBarButtonItem = newTabButton
                navigationItem.leftBarButtonItem = deleteButton
            }
        } else {
            var newToolbarItems: [UIBarButtonItem]? = bottomToolbarItems
            if navigationMenu.selectedSegmentIndex == 2 {
                newToolbarItems = showSyncItems ? bottomToolbarItemsForSync : nil
            }
            setToolbarItems(newToolbarItems, animated: true)
        }
    }
