Skip to content

Commit

Permalink
fix: check for region only
Browse files Browse the repository at this point in the history
  • Loading branch information
issammani authored Nov 22, 2024
1 parent 8f82957 commit 18ba9b8
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,7 @@ final class AddressListViewModel: ObservableObject, FeatureFlaggable {

private let logger: Logger

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

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

0 comments on commit 18ba9b8

Please sign in to comment.