mirror of
https://github.com/mihonapp/mihon.git
synced 2025-07-02 22:17:51 +02:00
Replace filter group icons with expand more/less
This commit is contained in:
@ -36,9 +36,9 @@ class GroupItem(val filter: Filter.Group<*>) : AbstractExpandableHeaderItem<Grou
|
||||
|
||||
holder.icon.setVectorCompat(
|
||||
if (isExpanded) {
|
||||
R.drawable.ic_expand_more_white_24dp
|
||||
R.drawable.ic_baseline_expand_less_24dp
|
||||
} else {
|
||||
R.drawable.ic_chevron_right_white_24dp
|
||||
R.drawable.ic_baseline_expand_more_24dp
|
||||
}
|
||||
)
|
||||
|
||||
|
@ -33,9 +33,9 @@ class SortGroup(val filter: Filter.Sort) : AbstractExpandableHeaderItem<SortGrou
|
||||
|
||||
holder.icon.setVectorCompat(
|
||||
if (isExpanded) {
|
||||
R.drawable.ic_expand_more_white_24dp
|
||||
R.drawable.ic_baseline_expand_less_24dp
|
||||
} else {
|
||||
R.drawable.ic_chevron_right_white_24dp
|
||||
R.drawable.ic_baseline_expand_more_24dp
|
||||
}
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user