For #2891 - Make checkbox invisible so text isn't cut off
parent
6290d7b890
commit
1ef85433b4
|
@ -131,7 +131,7 @@ class TabViewHolder(
|
||||||
|
|
||||||
view.hostname.text = tab.hostname
|
view.hostname.text = tab.hostname
|
||||||
view.tab_title.text = tab.title
|
view.tab_title.text = tab.title
|
||||||
checkbox.visibility = if (shouldHideCheckBox) View.GONE else View.VISIBLE
|
checkbox.visibility = if (shouldHideCheckBox) View.INVISIBLE else View.VISIBLE
|
||||||
view.isClickable = !shouldHideCheckBox
|
view.isClickable = !shouldHideCheckBox
|
||||||
checkbox.setOnCheckedChangeListener(null)
|
checkbox.setOnCheckedChangeListener(null)
|
||||||
if (checkbox.isChecked != isSelected) {
|
if (checkbox.isChecked != isSelected) {
|
||||||
|
|
Loading…
Reference in New Issue