Fix: Messed up chip icons tint

This commit is contained in:
machiav3lli
2022-03-04 02:24:42 +01:00
parent ee344bab8d
commit ef8ec5d159
3 changed files with 10 additions and 6 deletions

View File

@ -68,12 +68,12 @@ class ExploreFragment : MainNavFragmentX() {
viewModel.categories.observe(viewLifecycleOwner) {
binding.categories.apply {
removeAllViews()
addView(Chip(requireContext(), null, R.attr.chipStyle).apply {
addView(Chip(requireContext(), null, R.attr.categoryChipStyle).apply {
setText(R.string.all_applications)
id = R.id.SHOW_ALL
})
it.forEach {
addView(Chip(requireContext(), null, R.attr.chipStyle).apply {
addView(Chip(requireContext(), null, R.attr.categoryChipStyle).apply {
text = it
})
}