Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-Authored-By: Yuki <yuki@stripe.com>
  • Loading branch information
davidme-stripe and yuki-stripe committed Aug 29, 2019
1 parent beb67ed commit 6536fbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Stripe/STPAddressViewModel.m
Expand Up @@ -32,7 +32,7 @@ - (instancetype)initWithRequiredBillingFields:(STPBillingAddressFields)requiredB
self = [super init];
if (self) {
_isBillingAddress = YES;
_availableCountries = availableCountries;
_availableCountries = [availableCountries copy];
_requiredBillingAddressFields = requiredBillingAddressFields;
switch (requiredBillingAddressFields) {
case STPBillingAddressFieldsNone:
Expand Down Expand Up @@ -69,7 +69,7 @@ - (instancetype)initWithRequiredShippingFields:(NSSet<STPContactField> *)require
self = [super init];
if (self) {
_isBillingAddress = NO;
_availableCountries = availableCountries;
_availableCountries = [availableCountries copy];
_requiredShippingAddressFields = requiredShippingAddressFields;
NSMutableArray *cells = [NSMutableArray new];
if ([requiredShippingAddressFields containsObject:STPContactFieldName]) {
Expand Down

0 comments on commit 6536fbb

Please sign in to comment.