Skip to content

Commit

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

chore: enable address edit by default on US and CA
(cherry picked from commit 6e1f58c)
  • Loading branch information
issammani authored and mergify[bot] committed Nov 22, 2024
1 parent db90b9d commit 158710e
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 158710e

Please sign in to comment.