Skip to content
Merged
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
8 changes: 6 additions & 2 deletions src/Core/src/Platform/Android/SearchViewExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,13 @@ internal static void UpdateSearchIconColor(this SearchView searchView, ISearchBa
if (image?.Drawable is not null)
{
if (searchBar.SearchIconColor is not null)
{
SafeSetTint(image, searchBar.SearchIconColor.ToPlatform());
else
SafeSetTint(image, Color.Transparent);
}
else if (TryGetDefaultStateColor(searchView, AAttribute.TextColorPrimary, out var color))
{
SafeSetTint(image, color);
}
}
}
}
Expand Down
Loading