diff --git a/Tusker/Screens/Main/MainSidebarViewController.swift b/Tusker/Screens/Main/MainSidebarViewController.swift index 5294637dc6..bd4c580526 100644 --- a/Tusker/Screens/Main/MainSidebarViewController.swift +++ b/Tusker/Screens/Main/MainSidebarViewController.swift @@ -78,7 +78,7 @@ class MainSidebarViewController: UIViewController { let layout = UICollectionViewCompositionalLayout.list(using: .init(appearance: .sidebar)) collectionView = UICollectionView(frame: view.bounds, collectionViewLayout: layout) collectionView.autoresizingMask = [.flexibleWidth, .flexibleHeight] - collectionView.backgroundColor = .systemGroupedBackground + collectionView.backgroundColor = .clear collectionView.delegate = self view.addSubview(collectionView) diff --git a/Tusker/Screens/Main/MainSplitViewController.swift b/Tusker/Screens/Main/MainSplitViewController.swift index bbf667ed92..d9ccf89e8b 100644 --- a/Tusker/Screens/Main/MainSplitViewController.swift +++ b/Tusker/Screens/Main/MainSplitViewController.swift @@ -50,6 +50,7 @@ class MainSplitViewController: UISplitViewController { sidebar = MainSidebarViewController(mastodonController: mastodonController) sidebar.sidebarDelegate = self setViewController(sidebar, for: .primary) + primaryBackgroundStyle = .sidebar setViewController(EnhancedNavigationViewController(), for: .secondary) select(item: .tab(.timelines))