mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-29 21:37:56 +01: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