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 22, 2024
1 parent d356717 commit fe49ec8
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 fe49ec8

Please sign in to comment.