For #8299: Select current ETP policy set on card creation

fennec/nightly
mcarare 4 years ago committed by Emily Kager
parent 95528c3191
commit 1168fbd638

@ -50,6 +50,11 @@ class OnboardingTrackingProtectionViewHolder(view: View) : RecyclerView.ViewHold
standardTrackingProtection.addToRadioGroup(strictTrackingProtection)
strictTrackingProtection.addToRadioGroup(standardTrackingProtection)
strictTrackingProtection.isChecked =
itemView.context.settings().useStrictTrackingProtection
standardTrackingProtection.isChecked =
!itemView.context.settings().useStrictTrackingProtection
standardTrackingProtection.onClickListener {
updateTrackingProtectionPolicy()
}

Loading…
Cancel
Save