Roll back the timeline background color change. Remove the white accent view.

This commit is contained in:
Brent Simmons 2019-10-26 11:09:34 -07:00
parent 473053e813
commit d1987c650e
2 changed files with 2 additions and 22 deletions

View File

@ -23,12 +23,6 @@ class MasterTimelineTableViewCell: VibrantTableViewCell {
return NonIntrinsicImageView(image: AppAssets.timelineStarImage)
}()
private let separatorAccent: UIView = {
let view = UIView()
view.backgroundColor = UIColor.white
return view
}()
var cellData: MasterTimelineCellData! {
didSet {
updateSubviews()
@ -89,13 +83,6 @@ class MasterTimelineTableViewCell: VibrantTableViewCell {
dateView.setFrameIfNotEqual(layout.dateRect)
separatorInset = layout.separatorInsets
if traitCollection.userInterfaceStyle == .light {
let separatorAccentRect = CGRect(x: safeAreaInsets.left, y: frame.height - 2, width: frame.width - safeAreaInsets.right - safeAreaInsets.left, height: 1)
separatorAccent.setFrameIfNotEqual(separatorAccentRect)
} else {
separatorAccent.setFrameIfNotEqual(.zero)
}
}
func setAvatarImage(_ image: UIImage) {
@ -151,8 +138,6 @@ private extension MasterTimelineTableViewCell {
addSubviewAtInit(feedNameView, hidden: true)
addSubviewAtInit(avatarView, hidden: true)
addSubviewAtInit(starView, hidden: true)
addSubviewAtInit(separatorAccent, hidden: false)
}
func updatedLayout(width: CGFloat) -> MasterTimelineCellLayout {

View File

@ -7,13 +7,8 @@
{
"idiom" : "universal",
"color" : {
"color-space" : "srgb",
"components" : {
"red" : "247",
"alpha" : "1.000",
"blue" : "247",
"green" : "247"
}
"platform" : "ios",
"reference" : "systemBackgroundColor"
}
},
{