mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-30 01:10:38 +00:00
Fixed bug where separators weren’t showing between rows in the timeline settings screen.
This commit is contained in:
1 parent
ab5703508c
commit
828fc0e109
1 file changed
+1
-1
@@ -127,8 +127,8 @@ final class TimelineSettingsViewController: UICollectionViewController {
|
||||
|
||||
let layout = UICollectionViewCompositionalLayout { sectionIndex, layoutEnvironment in
|
||||
var config = UICollectionLayoutListConfiguration(appearance: .insetGrouped)
|
||||
config.showsSeparators = false
|
||||
let sectionID = Section(rawValue: sectionIndex)
|
||||
config.showsSeparators = sectionID == .general || sectionID == .layout
|
||||
let isHidden = Self.isHidden(sectionID)
|
||||
config.headerMode = (isHidden || sectionID == .general) ? .none : .supplementary
|
||||
let section = NSCollectionLayoutSection.list(using: config, layoutEnvironment: layoutEnvironment)
|
||||
|
||||
Reference in new issue
Block a user