From 18d70bcf7a7e4cac7465f4484ad8d324994b0f0b Mon Sep 17 00:00:00 2001 From: CMK Date: Wed, 30 Jun 2021 20:20:37 +0800 Subject: [PATCH] chore: hide mic button in search scene --- Mastodon/Scene/Search/SearchViewController.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Mastodon/Scene/Search/SearchViewController.swift b/Mastodon/Scene/Search/SearchViewController.swift index 10dd4611..9a256fb5 100644 --- a/Mastodon/Scene/Search/SearchViewController.swift +++ b/Mastodon/Scene/Search/SearchViewController.swift @@ -48,9 +48,9 @@ final class SearchViewController: UIViewController, NeedsDependency { searchBar.placeholder = L10n.Scene.Search.Searchbar.placeholder searchBar.tintColor = Asset.Colors.brandBlue.color searchBar.translatesAutoresizingMaskIntoConstraints = false - let micImage = UIImage(systemName: "mic.fill") - searchBar.setImage(micImage, for: .bookmark, state: .normal) - searchBar.showsBookmarkButton = true + // let micImage = UIImage(systemName: "mic.fill") + // searchBar.setImage(micImage, for: .bookmark, state: .normal) + // searchBar.showsBookmarkButton = true 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 return searchBar