Compare commits

..

2 Commits

Author SHA1 Message Date
Shadowfacts e264e8842c Don't use shared background context for fetching item counts
A significant fraction of the time was spent waiting for the background
context to be available, before the count could even be started. Since
the counts don't need to use the shared background context, let them
each use their own context to avoid contention.
2022-09-10 14:14:31 -04:00
Shadowfacts c78ed42a5e Fix show sidebar button not appearing on iPad 2022-09-10 13:32:18 -04:00
1 changed files with 0 additions and 4 deletions

View File

@ -45,15 +45,11 @@ class AppSplitViewController: UISplitViewController {
setViewController(sidebarNav, for: .primary)
secondaryNav = UINavigationController()
#if targetEnvironment(macCatalyst)
secondaryNav.isNavigationBarHidden = true
#else
// the toggle sidebar button only appears if there's a navigation bar
// so we just make always transparent, rather than disabling it
let secondaryNavBarAppearance = UINavigationBarAppearance()
secondaryNavBarAppearance.configureWithTransparentBackground()
secondaryNav.navigationBar.standardAppearance = secondaryNavBarAppearance
#endif
secondaryNav.view.backgroundColor = .appBackground
setViewController(secondaryNav, for: .secondary)