File tree 2 files changed +1
-1
lines changed
Sources/SPDiffable/Collection
2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ class SideBarSplitController: UISplitViewController {
77
77
override func viewDidLoad( ) {
78
78
super. viewDidLoad ( )
79
79
80
+ primaryBackgroundStyle = . sidebar
80
81
preferredDisplayMode = . oneBesideSecondary
81
82
presentsWithGesture = false
82
83
preferredSplitBehavior = . tile
Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ open class SPDiffableSideBarController: UIViewController, UICollectionViewDelega
56
56
57
57
let layout = UICollectionViewCompositionalLayout { [ weak self] ( section, layoutEnvironment) -> NSCollectionLayoutSection ? in
58
58
var configuration = UICollectionLayoutListConfiguration ( appearance: . sidebar)
59
- configuration. backgroundColor = UIColor . secondarySystemBackground
60
59
let header = self ? . diffableDataSource? . snapshot ( ) . sectionIdentifiers [ section] . header
61
60
configuration. headerMode = ( header == nil ) ? . none : . firstItemInSection
62
61
let footer = self ? . diffableDataSource? . snapshot ( ) . sectionIdentifiers [ section] . footer
You can’t perform that action at this time.
0 commit comments