File tree Expand file tree Collapse file tree 2 files changed +1
-1
lines changed
Sources/SPDiffable/Collection Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ class SideBarSplitController: UISplitViewController {
7777 override func viewDidLoad( ) {
7878 super. viewDidLoad ( )
7979
80+ primaryBackgroundStyle = . sidebar
8081 preferredDisplayMode = . oneBesideSecondary
8182 presentsWithGesture = false
8283 preferredSplitBehavior = . tile
Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ open class SPDiffableSideBarController: UIViewController, UICollectionViewDelega
5656
5757 let layout = UICollectionViewCompositionalLayout { [ weak self] ( section, layoutEnvironment) -> NSCollectionLayoutSection ? in
5858 var configuration = UICollectionLayoutListConfiguration ( appearance: . sidebar)
59- configuration. backgroundColor = UIColor . secondarySystemBackground
6059 let header = self ? . diffableDataSource? . snapshot ( ) . sectionIdentifiers [ section] . header
6160 configuration. headerMode = ( header == nil ) ? . none : . firstItemInSection
6261 let footer = self ? . diffableDataSource? . snapshot ( ) . sectionIdentifiers [ section] . footer
You can’t perform that action at this time.
0 commit comments