[fenix] For https://github.com/mozilla-mobile/fenix/issues/2891 - Make checkbox invisible so text isn't cut off

pull/600/head
Emily Kager 5 years ago committed by Emily Kager
parent 375fc8f516
commit d54244f1b1

@ -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) {

Loading…
Cancel
Save