mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-16 02:48:08 -04:00
Merge pull request #1765 from kiwix/feature/macgills/1636-hide-inactive-tags
#1636 If the ZIM file tag (Vid,Pic) doesn't fit, additionally the tex…
This commit is contained in:
commit
fe5a94fe80
@ -62,5 +62,6 @@ class TagsView(context: Context, attrs: AttributeSet) : ChipGroup(context, attrs
|
|||||||
private fun Chip.selectBy(criteria: Boolean) {
|
private fun Chip.selectBy(criteria: Boolean) {
|
||||||
isChecked = criteria
|
isChecked = criteria
|
||||||
isEnabled = criteria
|
isEnabled = criteria
|
||||||
|
visibility = if (criteria) VISIBLE else GONE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user