Commit 1168fbd6 authored by mcarare's avatar mcarare Committed by Emily Kager
Browse files

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

parent 95528c31
......@@ -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()
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment