For #25360: Selectively update addresses preference only when needed.

pull/543/head
mcarare 2 years ago committed by mergify[bot]
parent 014d0e5ad2
commit a0a02e5627

@ -91,8 +91,11 @@ class AutofillSettingFragment : BiometricPromptPreferenceFragment() {
)
updateSaveAndAutofillCardsSwitch()
if (requireComponents.settings.addressFeature) {
updateSaveAndAutofillAddressesSwitch()
}
}
/**
* Updates save and autofill cards preference switch state depending on the saved user preference.

Loading…
Cancel
Save