From e1a571fab3461d68d48d00fd7c358540ffc1085a Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Fri, 25 Oct 2019 15:56:09 -0500 Subject: [PATCH] Remove separator accent when switching to darkmode --- iOS/MasterTimeline/Cell/MasterTimelineTableViewCell.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iOS/MasterTimeline/Cell/MasterTimelineTableViewCell.swift b/iOS/MasterTimeline/Cell/MasterTimelineTableViewCell.swift index 63249d581..9f9d1c342 100644 --- a/iOS/MasterTimeline/Cell/MasterTimelineTableViewCell.swift +++ b/iOS/MasterTimeline/Cell/MasterTimelineTableViewCell.swift @@ -93,6 +93,8 @@ class MasterTimelineTableViewCell: VibrantTableViewCell { 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) } }