1
0
Fork 0

For #2891 - Make checkbox invisible so text isn't cut off

master
Emily Kager 2019-05-28 15:35:46 -07:00 committed by Emily Kager
parent 6290d7b890
commit 1ef85433b4
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ class TabViewHolder(
view.hostname.text = tab.hostname
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
checkbox.setOnCheckedChangeListener(null)
if (checkbox.isChecked != isSelected) {