diff --git a/iOS/MainTimeline/Cells/MainTimelineCollectionViewCell.swift b/iOS/MainTimeline/Cells/MainTimelineCollectionViewCell.swift index 6b7ee3113..ee2319c19 100644 --- a/iOS/MainTimeline/Cells/MainTimelineCollectionViewCell.swift +++ b/iOS/MainTimeline/Cells/MainTimelineCollectionViewCell.swift @@ -298,7 +298,7 @@ class MainTimelineCollectionViewCell: UICollectionViewCell { updateIndicatorView(state) if isPreview { - backgroundConfig.backgroundColor = .secondarySystemBackground + backgroundConfig.backgroundColor = traitCollection.userInterfaceStyle == .dark ? .secondarySystemBackground : .white topSeparator.alpha = 0.0 } diff --git a/iOS/Settings/TimelineCustomizerCell.swift b/iOS/Settings/TimelineCustomizerCell.swift index 42bce8efd..8b10a612a 100644 --- a/iOS/Settings/TimelineCustomizerCell.swift +++ b/iOS/Settings/TimelineCustomizerCell.swift @@ -49,7 +49,7 @@ final class TimelineCustomizerCell: UICollectionViewCell { override func updateConfiguration(using state: UICellConfigurationState) { var backgroundConfig = UIBackgroundConfiguration.listCell().updated(for: state) - backgroundConfig.backgroundColor = .secondarySystemBackground + backgroundConfig.backgroundColor = traitCollection.userInterfaceStyle == .dark ? .secondarySystemBackground : .white backgroundConfig.cornerRadius = 20 self.backgroundConfiguration = backgroundConfig }