[fenix] For https://github.com/mozilla-mobile/fenix/issues/8146: Extend radio buttons clickable area to title and description

pull/600/head
mcarare 5 years ago committed by Emily Kager
parent 59b6ed8791
commit 451ff0580e

@ -54,9 +54,24 @@ class OnboardingTrackingProtectionViewHolder(view: View) : RecyclerView.ViewHold
updateTrackingProtectionPolicy()
}
view.protection_standard_title.setOnClickListener {
standardTrackingProtection.performClick()
}
view.protection_standard_description.setOnClickListener {
standardTrackingProtection.performClick()
}
strictTrackingProtection.onClickListener {
updateTrackingProtectionPolicy()
}
view.protection_strict_title.setOnClickListener {
strictTrackingProtection.performClick()
}
view.protection_strict_description.setOnClickListener {
strictTrackingProtection.performClick()
}
}
private fun updateRadioGroupState(view: View, isChecked: Boolean) {

Loading…
Cancel
Save