1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-14 23:33:34 +00:00

PS-587 - Fix searchbar search textfield and icon colors for dark themes (#1941)

* PS-587 Fix searchbar search textfield and icon colors for dark themes

* PS-587 - PR corrections
This commit is contained in:
Carlos Gonçalves
2022-06-07 15:43:25 +01:00
committed by GitHub
parent 9b41db962e
commit 0a64e4c918
3 changed files with 22 additions and 4 deletions

View File

@@ -33,10 +33,7 @@ namespace Bit.iOS.Autofill
CancelBarButton.Title = AppResources.Cancel;
SearchBar.Placeholder = AppResources.Search;
SearchBar.BackgroundColor = SearchBar.BarTintColor = ThemeHelpers.ListHeaderBackgroundColor;
if (!ThemeHelpers.LightTheme)
{
SearchBar.KeyboardAppearance = UIKeyboardAppearance.Dark;
}
SearchBar.UpdateThemeIfNeeded();
TableView.RowHeight = UITableView.AutomaticDimension;
TableView.EstimatedRowHeight = 44;