chore: hide mic button in search scene
This commit is contained in:
parent
a4e936e0e8
commit
18d70bcf7a
|
@ -48,9 +48,9 @@ final class SearchViewController: UIViewController, NeedsDependency {
|
||||||
searchBar.placeholder = L10n.Scene.Search.Searchbar.placeholder
|
searchBar.placeholder = L10n.Scene.Search.Searchbar.placeholder
|
||||||
searchBar.tintColor = Asset.Colors.brandBlue.color
|
searchBar.tintColor = Asset.Colors.brandBlue.color
|
||||||
searchBar.translatesAutoresizingMaskIntoConstraints = false
|
searchBar.translatesAutoresizingMaskIntoConstraints = false
|
||||||
let micImage = UIImage(systemName: "mic.fill")
|
// let micImage = UIImage(systemName: "mic.fill")
|
||||||
searchBar.setImage(micImage, for: .bookmark, state: .normal)
|
// searchBar.setImage(micImage, for: .bookmark, state: .normal)
|
||||||
searchBar.showsBookmarkButton = true
|
// searchBar.showsBookmarkButton = true
|
||||||
searchBar.scopeButtonTitles = [L10n.Scene.Search.Searching.Segment.all, L10n.Scene.Search.Searching.Segment.people, L10n.Scene.Search.Searching.Segment.hashtags]
|
searchBar.scopeButtonTitles = [L10n.Scene.Search.Searching.Segment.all, L10n.Scene.Search.Searching.Segment.people, L10n.Scene.Search.Searching.Segment.hashtags]
|
||||||
searchBar.barTintColor = Asset.Colors.Background.navigationBar.color
|
searchBar.barTintColor = Asset.Colors.Background.navigationBar.color
|
||||||
return searchBar
|
return searchBar
|
||||||
|
|
Loading…
Reference in New Issue