forked from zelo72/mastodon-ios
chore: set "See All" button hidden for hashtag recommend
This commit is contained in:
parent
d2f9828f50
commit
9c25bebaba
|
@ -17,7 +17,7 @@ extension SearchViewController {
|
||||||
let header = SearchRecommendCollectionHeader()
|
let header = SearchRecommendCollectionHeader()
|
||||||
header.titleLabel.text = L10n.Scene.Search.Recommend.HashTag.title
|
header.titleLabel.text = L10n.Scene.Search.Recommend.HashTag.title
|
||||||
header.descriptionLabel.text = L10n.Scene.Search.Recommend.HashTag.description
|
header.descriptionLabel.text = L10n.Scene.Search.Recommend.HashTag.description
|
||||||
header.seeAllButton.addTarget(self, action: #selector(SearchViewController.hashtagSeeAllButtonPressed(_:)), for: .touchUpInside)
|
header.seeAllButton.isHidden = true
|
||||||
stackView.addArrangedSubview(header)
|
stackView.addArrangedSubview(header)
|
||||||
|
|
||||||
hashtagCollectionView.register(SearchRecommendTagsCollectionViewCell.self, forCellWithReuseIdentifier: String(describing: SearchRecommendTagsCollectionViewCell.self))
|
hashtagCollectionView.register(SearchRecommendTagsCollectionViewCell.self, forCellWithReuseIdentifier: String(describing: SearchRecommendTagsCollectionViewCell.self))
|
||||||
|
|
Loading…
Reference in New Issue