Skip to content

Commit

Permalink
Add FXIOS-10362 - Enable address autofill edit by default on US and C…
Browse files Browse the repository at this point in the history
…A (backport #23256) (#23337)

Add FXIOS-10362 - Enable address autofill edit by default on US and CA (#23256)

chore: enable address edit by default on US and CA
(cherry picked from commit 6e1f58c)

Co-authored-by: Issam Mani <[email protected]>
  • Loading branch information
mergify[bot] and issammani authored Dec 3, 2024
1 parent 72df990 commit 9d29838
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ final class AddressListViewModel: ObservableObject, FeatureFlaggable {

private let logger: Logger

var isEditingFeatureEnabled: Bool { featureFlags.isFeatureEnabled(.addressAutofillEdit, checking: .buildOnly) }
var isEditingFeatureEnabled: Bool {
AddressLocaleFeatureValidator.isValidRegion() ||
featureFlags.isFeatureEnabled(.addressAutofillEdit, checking: .buildOnly)
}

var addressSelectionCallback: ((UnencryptedAddressFields) -> Void)?
var saveAction: ((@escaping (UpdatableAddressFields) -> Void) -> Void)?
Expand Down

0 comments on commit 9d29838

Please sign in to comment.