From b5986b509eb7c2f201a5658e2df891352249d3ee Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 27 Sep 2020 19:16:46 -0400 Subject: [PATCH] Fix chapter filter icon tinting --- .../tachiyomi/ui/manga/chapter/MangaChaptersHeaderAdapter.kt | 2 +- app/src/main/res/layout/common_tabbed_sheet.xml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/MangaChaptersHeaderAdapter.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/MangaChaptersHeaderAdapter.kt index db09d95976..55eadf678a 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/MangaChaptersHeaderAdapter.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/MangaChaptersHeaderAdapter.kt @@ -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) diff --git a/app/src/main/res/layout/common_tabbed_sheet.xml b/app/src/main/res/layout/common_tabbed_sheet.xml index 8c9cba8691..10f72004bf 100644 --- a/app/src/main/res/layout/common_tabbed_sheet.xml +++ b/app/src/main/res/layout/common_tabbed_sheet.xml @@ -8,7 +8,8 @@ + android:layout_height="wrap_content" + android:background="?attr/colorPrimary">