Fix chapter filter icon tinting

(cherry picked from commit b5986b509e)
This commit is contained in:
arkon
2020-09-27 19:16:46 -04:00
committed by Jobobby04
parent 9c76f1fd8f
commit 3a07ee3deb
2 changed files with 4 additions and 3 deletions
@@ -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)