mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-25 18:47:51 +02:00
Fix chapter filter icon tinting
This commit is contained in:
@ -64,7 +64,7 @@ class MangaChaptersHeaderAdapter(
|
||||
val filterColor = if (hasActiveFilters) {
|
||||
view.context.getResourceColor(R.attr.colorFilterActive)
|
||||
} else {
|
||||
view.context.getResourceColor(R.attr.colorOnPrimary)
|
||||
view.context.getResourceColor(R.attr.colorOnBackground)
|
||||
}
|
||||
DrawableCompat.setTint(binding.btnChaptersFilter.drawable, filterColor)
|
||||
|
||||
|
Reference in New Issue
Block a user