[fenix] For https://github.com/mozilla-mobile/fenix/issues/25360: Selectively update addresses preference only when needed.

pull/600/head
mcarare 2 years ago committed by mergify[bot]
parent e0e4f80e73
commit 5a8a6a6e76

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