mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-04-24 15:56:07 +00:00
Make group chips checked when selected
This brings us in line with upstream Material UI guidelines - apparently before we were showing "choice chips" and with this change we show "filter chips". See https://material.io/components/chips/android#filter-chip.
This commit is contained in:
parent
80960e23fc
commit
a302f3daac
1 changed files with 1 additions and 1 deletions
|
@ -416,7 +416,7 @@ public class EntryListView extends Fragment implements EntryAdapter.Listener {
|
|||
chip.setText(group);
|
||||
chip.setCheckable(true);
|
||||
chip.setChecked(_groupFilter != null && _groupFilter.contains(group));
|
||||
chip.setCheckedIconVisible(false);
|
||||
chip.setCheckedIconVisible(true);
|
||||
chip.setOnCheckedChangeListener((group1, checkedId) -> {
|
||||
List<String> groupFilter = getGroupFilter(chipGroup);
|
||||
setGroupFilter(groupFilter, true);
|
||||
|
|
Loading…
Add table
Reference in a new issue