mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-01-22 21:51:30 +01:00
fix: make seeAll button and clear button highlight when user tapping
This commit is contained in:
parent
5c7a13e6b3
commit
ae20a29013
@ -99,8 +99,8 @@ final class SearchViewController: UIViewController, NeedsDependency {
|
||||
return label
|
||||
}()
|
||||
|
||||
let clearSearchHistoryButton: UIButton = {
|
||||
let button = UIButton(type: .custom)
|
||||
let clearSearchHistoryButton: HighlightDimmableButton = {
|
||||
let button = HighlightDimmableButton(type: .custom)
|
||||
button.setTitleColor(Asset.Colors.brandBlue.color, for: .normal)
|
||||
button.setTitle(L10n.Scene.Search.Searching.clear, for: .normal)
|
||||
return button
|
||||
|
@ -25,8 +25,8 @@ class SearchRecommendCollectionHeader: UIView {
|
||||
return label
|
||||
}()
|
||||
|
||||
let seeAllButton: UIButton = {
|
||||
let button = UIButton(type: .custom)
|
||||
let seeAllButton: HighlightDimmableButton = {
|
||||
let button = HighlightDimmableButton(type: .custom)
|
||||
button.setTitleColor(Asset.Colors.brandBlue.color, for: .normal)
|
||||
button.setTitle(L10n.Scene.Search.Recommend.buttonText, for: .normal)
|
||||
return button
|
||||
|
Loading…
Reference in New Issue
Block a user