1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2024-12-25 08:21:40 +01:00

fix: missing highlighted state for hashtag cell in search scene

This commit is contained in:
CMK 2021-06-22 17:26:26 +08:00
parent 14f555f82f
commit 8f26fea875

View File

@ -51,6 +51,12 @@ class SearchRecommendTagsCollectionViewCell: UICollectionViewCell {
super.init(coder: coder)
configure()
}
override var isHighlighted: Bool {
didSet {
backgroundColor = isHighlighted ? Asset.Colors.brandBlueDarken20.color : Asset.Colors.brandBlue.color
}
}
}
extension SearchRecommendTagsCollectionViewCell {