[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,7 +91,10 @@ class AutofillSettingFragment : BiometricPromptPreferenceFragment() {
) )
updateSaveAndAutofillCardsSwitch() updateSaveAndAutofillCardsSwitch()
updateSaveAndAutofillAddressesSwitch()
if (requireComponents.settings.addressFeature) {
updateSaveAndAutofillAddressesSwitch()
}
} }
/** /**

Loading…
Cancel
Save