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:
parent
14f555f82f
commit
8f26fea875
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user