mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-27 09:21:21 +01:00
Remove separator accent when switching to darkmode
This commit is contained in:
parent
21aaf71cbf
commit
e1a571fab3
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user