1
0
Fork 0

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

master
mcarare 3 years ago committed by Emily Kager
parent 95528c3191
commit 1168fbd638
  1. 5
      app/src/main/java/org/mozilla/fenix/home/sessioncontrol/viewholders/onboarding/OnboardingTrackingProtectionViewHolder.kt

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