Replace filter group icons with expand more/less
(cherry picked from commit 4e633b8936)
# Conflicts:
# app/src/main/res/drawable/ic_chevron_right_white_24dp.xml
# app/src/main/res/drawable/ic_expand_more_white_24dp.xml
This commit is contained in:
@@ -41,9 +41,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