Fix inconsistent separator insets on home screen
This commit is contained in:
parent
4b0bda88b8
commit
dbd274f57c
|
@ -47,6 +47,7 @@ class HomeViewController: UIViewController {
|
||||||
config.headerMode = .supplementary
|
config.headerMode = .supplementary
|
||||||
config.backgroundColor = .appBackground
|
config.backgroundColor = .appBackground
|
||||||
config.separatorConfiguration.topSeparatorVisibility = .visible
|
config.separatorConfiguration.topSeparatorVisibility = .visible
|
||||||
|
config.separatorConfiguration.topSeparatorInsets = NSDirectionalEdgeInsets(top: 0, leading: 20, bottom: 0, trailing: 0)
|
||||||
config.separatorConfiguration.bottomSeparatorVisibility = .hidden
|
config.separatorConfiguration.bottomSeparatorVisibility = .hidden
|
||||||
config.itemSeparatorHandler = { indexPath, defaultConfig in
|
config.itemSeparatorHandler = { indexPath, defaultConfig in
|
||||||
var config = defaultConfig
|
var config = defaultConfig
|
||||||
|
|
Loading…
Reference in New Issue