mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-02 03:40:16 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/24780 - Part 3: Show the correct toolbar title if address autofill is enabled
This commit is contained in:
parent
86c4a691c7
commit
d10ed72be9
@ -113,7 +113,11 @@ class AutofillSettingFragment : BiometricPromptPreferenceFragment() {
|
||||
override fun onResume() {
|
||||
super.onResume()
|
||||
|
||||
if (requireComponents.settings.addressFeature) {
|
||||
showToolbar(getString(R.string.preferences_autofill))
|
||||
} else {
|
||||
showToolbar(getString(R.string.preferences_credit_cards))
|
||||
}
|
||||
|
||||
SyncPreferenceView(
|
||||
syncPreference = requirePreference(R.string.pref_key_credit_cards_sync_cards_across_devices),
|
||||
|
Loading…
Reference in New Issue
Block a user