8000 PM-8797: Use localized strings for search bar and cancel button by matt-livefront · Pull Request #738 · bitwarden/ios · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

PM-8797: Use localized strings for search bar and cancel button #738

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public enum UI {
UITabBar.appearance().standardAppearance = tabBarAppearance
UITabBar.appearance().tintColor = Asset.Colors.primaryBitwarden.color

UIBarButtonItem.appearance(whenContainedInInstancesOf: [UISearchBar.self]).title = Localizations.cancel
UISearchBar.appearance().tintColor = Asset.Colors.primaryBitwarden.color
// Explicitly tint the image so that it does not assume the tint color assigned to the entire search bar.
let image = Asset.Images.cancelRound.image
Expand Down
1 change: 1 addition & 0 deletions BitwardenShared/UI/Tools/Send/Send/SendCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ final class SendCoordinator: Coordinator, HasStackNavigator {

let viewController = UIHostingController(rootView: view)
let searchController = UISearchController()
searchController.searchBar.placeholder = Localizations.search
searchController.searchResultsUpdater = searchHandler

stackNavigator?.push(
Expand Down
1 change: 1 addition & 0 deletions BitwardenShared/UI/Vault/Vault/VaultCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ final class VaultCoordinator: Coordinator, HasStackNavigator {
)
let viewController = UIHostingController(rootView: view)
let searchController = UISearchController()
searchController.searchBar.placeholder = Localizations.search
searchController.searchResultsUpdater = searchHandler

stackNa 4A58 vigator?.push(
Expand Down
Loading
0