Fixed bug where separators weren’t showing between rows in the timeline settings screen.

This commit is contained in:
Brent Simmons committed 2026-11-16 19:53:48 -08:00
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)