mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 00:01:54 +01:00
Fix chapter filter icon tinting
This commit is contained in:
parent
9d2adcd512
commit
b5986b509e
@ -64,7 +64,7 @@ class MangaChaptersHeaderAdapter(
|
|||||||
val filterColor = if (hasActiveFilters) {
|
val filterColor = if (hasActiveFilters) {
|
||||||
view.context.getResourceColor(R.attr.colorFilterActive)
|
view.context.getResourceColor(R.attr.colorFilterActive)
|
||||||
} else {
|
} else {
|
||||||
view.context.getResourceColor(R.attr.colorOnPrimary)
|
view.context.getResourceColor(R.attr.colorOnBackground)
|
||||||
}
|
}
|
||||||
DrawableCompat.setTint(binding.btnChaptersFilter.drawable, filterColor)
|
DrawableCompat.setTint(binding.btnChaptersFilter.drawable, filterColor)
|
||||||
|
|
||||||
|
@ -8,7 +8,8 @@
|
|||||||
|
|
||||||
<androidx.constraintlayout.widget.ConstraintLayout
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content"
|
||||||
|
android:background="?attr/colorPrimary">
|
||||||
|
|
||||||
<com.google.android.material.tabs.TabLayout
|
<com.google.android.material.tabs.TabLayout
|
||||||
android:id="@+id/tabs"
|
android:id="@+id/tabs"
|
||||||
@ -35,7 +36,7 @@
|
|||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:srcCompat="@drawable/ic_more_vert_24dp"
|
app:srcCompat="@drawable/ic_more_vert_24dp"
|
||||||
app:tint="?attr/colorOnBackground"
|
app:tint="?attr/colorOnPrimary"
|
||||||
tools:visibility="visible" />
|
tools:visibility="visible" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
Loading…
Reference in New Issue
Block a user