1
0
mirror of https://github.com/mastodon/mastodon-ios.git synced 2025-01-12 17:14:47 +01:00

fix: missing highlighted state for account recommend cell in search scene

This commit is contained in:
CMK 2021-06-22 17:30:42 +08:00
parent ca8656be1b
commit cb2a89afca

View File

@ -90,6 +90,13 @@ class SearchRecommendAccountsCollectionViewCell: UICollectionViewCell {
super.init(coder: coder)
configure()
}
override var isHighlighted: Bool {
didSet {
contentView.alpha = isHighlighted ? 0.8 : 1.0
}
}
}
extension SearchRecommendAccountsCollectionViewCell {