From 9c25bebaba398933d431b094d0570e21f71502d1 Mon Sep 17 00:00:00 2001 From: CMK Date: Tue, 20 Jul 2021 18:07:25 +0800 Subject: [PATCH] chore: set "See All" button hidden for hashtag recommend --- .../Scene/Search/Search/SearchViewController+Recommend.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mastodon/Scene/Search/Search/SearchViewController+Recommend.swift b/Mastodon/Scene/Search/Search/SearchViewController+Recommend.swift index e0b02e41c..4365a63f4 100644 --- a/Mastodon/Scene/Search/Search/SearchViewController+Recommend.swift +++ b/Mastodon/Scene/Search/Search/SearchViewController+Recommend.swift @@ -17,7 +17,7 @@ extension SearchViewController { let header = SearchRecommendCollectionHeader() header.titleLabel.text = L10n.Scene.Search.Recommend.HashTag.title 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) hashtagCollectionView.register(SearchRecommendTagsCollectionViewCell.self, forCellWithReuseIdentifier: String(describing: SearchRecommendTagsCollectionViewCell.self))