Skip to content

Commit

Permalink
chore: enable address edit by default on US and CA
Browse files Browse the repository at this point in the history
  • Loading branch information
issammani committed Nov 20, 2024
1 parent 731d7fc commit 8f82957
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 8f82957

Please sign in to comment.