From dbd274f57cea88977bf1e65616d0664e5933e861 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Fri, 14 Jan 2022 18:17:00 -0500 Subject: [PATCH] Fix inconsistent separator insets on home screen --- Reader/Screens/Home/HomeViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Reader/Screens/Home/HomeViewController.swift b/Reader/Screens/Home/HomeViewController.swift index 607348a..2571478 100644 --- a/Reader/Screens/Home/HomeViewController.swift +++ b/Reader/Screens/Home/HomeViewController.swift @@ -47,6 +47,7 @@ class HomeViewController: UIViewController { config.headerMode = .supplementary config.backgroundColor = .appBackground config.separatorConfiguration.topSeparatorVisibility = .visible + config.separatorConfiguration.topSeparatorInsets = NSDirectionalEdgeInsets(top: 0, leading: 20, bottom: 0, trailing: 0) config.separatorConfiguration.bottomSeparatorVisibility = .hidden config.itemSeparatorHandler = { indexPath, defaultConfig in var config = defaultConfig