mirror of
https://github.com/mastodon/mastodon-ios
synced 2025-04-11 22:58:02 +02: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
|
return label
|
||||||
}()
|
}()
|
||||||
|
|
||||||
let clearSearchHistoryButton: UIButton = {
|
let clearSearchHistoryButton: HighlightDimmableButton = {
|
||||||
let button = UIButton(type: .custom)
|
let button = HighlightDimmableButton(type: .custom)
|
||||||
button.setTitleColor(Asset.Colors.brandBlue.color, for: .normal)
|
button.setTitleColor(Asset.Colors.brandBlue.color, for: .normal)
|
||||||
button.setTitle(L10n.Scene.Search.Searching.clear, for: .normal)
|
button.setTitle(L10n.Scene.Search.Searching.clear, for: .normal)
|
||||||
return button
|
return button
|
||||||
|
@ -25,8 +25,8 @@ class SearchRecommendCollectionHeader: UIView {
|
|||||||
return label
|
return label
|
||||||
}()
|
}()
|
||||||
|
|
||||||
let seeAllButton: UIButton = {
|
let seeAllButton: HighlightDimmableButton = {
|
||||||
let button = UIButton(type: .custom)
|
let button = HighlightDimmableButton(type: .custom)
|
||||||
button.setTitleColor(Asset.Colors.brandBlue.color, for: .normal)
|
button.setTitleColor(Asset.Colors.brandBlue.color, for: .normal)
|
||||||
button.setTitle(L10n.Scene.Search.Recommend.buttonText, for: .normal)
|
button.setTitle(L10n.Scene.Search.Recommend.buttonText, for: .normal)
|
||||||
return button
|
return button
|
||||||
|
Loading…
x
Reference in New Issue
Block a user