fixup! Resolve #604

This commit is contained in:
FooIbar authored and tarsin committed 2023-01-21 08:12:22 +08:00
1 parent 6bfe1ba876
commit e7c223da7d
1 file changed
+2 -2
@@ -103,8 +103,8 @@ class SearchLayout @JvmOverloads constructor(
mChip.isChecked = NumberUtils.int2boolean(mPair.first and mCategoryStored)
mChip.setOnLongClickListener {
if (mChip.isChecked) {
for (i in 1 until mCategoryGroup.childCount + 1) {
mCategoryGroup.check(i)
for (i in 0 until mCategoryGroup.childCount) {
(mCategoryGroup.getChildAt(i) as Chip).isChecked = true
}
mChip.isChecked = false
} else {