Make account header separators slightly wider so that they always appear on non-retina devices. Issue #1244

This commit is contained in:
Maurice Parker 2019-11-03 18:29:06 -06:00
parent 48b475a33c
commit ac06175170

View File

@ -176,9 +176,9 @@ private extension MasterFeedTableViewSectionHeader {
unreadCountView.setFrameIfNotEqual(layout.unreadCountRect) unreadCountView.setFrameIfNotEqual(layout.unreadCountRect)
disclosureView.setFrameIfNotEqual(layout.disclosureButtonRect) disclosureView.setFrameIfNotEqual(layout.disclosureButtonRect)
let top = CGRect(x: safeAreaInsets.left, y: 0, width: frame.width - safeAreaInsets.right - safeAreaInsets.left, height: 0.25) let top = CGRect(x: safeAreaInsets.left, y: 0, width: frame.width - safeAreaInsets.right - safeAreaInsets.left, height: 0.33)
topSeparatorView.setFrameIfNotEqual(top) topSeparatorView.setFrameIfNotEqual(top)
let bottom = CGRect(x: safeAreaInsets.left, y: frame.height - 0.25, width: frame.width - safeAreaInsets.right - safeAreaInsets.left, height: 0.25) let bottom = CGRect(x: safeAreaInsets.left, y: frame.height - 0.33, width: frame.width - safeAreaInsets.right - safeAreaInsets.left, height: 0.33)
bottomSeparatorView.setFrameIfNotEqual(bottom) bottomSeparatorView.setFrameIfNotEqual(bottom)
} }