mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-01 01:40:22 +00:00
Fix text contrast bug when swiping an article in the timeline.
This commit is contained in:
1 parent
3e7b0be269
commit
3f1fb52580
1 file changed
+4
-2
@@ -106,8 +106,10 @@ final class MainTimelineCell: UICollectionViewCell {
|
||||
|
||||
topSeparator.alpha = (isActive || isPreview) ? 0.0 : 1.0
|
||||
|
||||
updateColors(active: isActive)
|
||||
updateIndicatorView(active: isActive)
|
||||
// White foreground is only for the selected state (blue accent background).
|
||||
// The swiped state uses a subtle gray fill, so it keeps normal label colors.
|
||||
updateColors(active: state.isSelected)
|
||||
updateIndicatorView(active: state.isSelected)
|
||||
}
|
||||
|
||||
func setIconImage(_ image: IconImage) {
|
||||
|
||||
Reference in new issue
Block a user