Skip to content

Commit

Permalink
Consistent accessory update calls
Browse files Browse the repository at this point in the history
  • Loading branch information
csabol-stripe committed Aug 6, 2018
1 parent 134a414 commit fe5b1aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Stripe/STPAddCardViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@ - (void)addressViewModel:(__unused STPAddressViewModel *)addressViewModel addedC
if (rowsInSection != NSNotFound && rowsInSection < [self tableView:self.tableView numberOfRowsInSection:STPPaymentCardBillingAddressSection]) {
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:index inSection:STPPaymentCardBillingAddressSection];
[self.tableView insertRowsAtIndexPaths:@[indexPath] withRowAnimation:UITableViewRowAnimationAutomatic];
[self updateInputAccessoryVisiblity];
}
[self updateInputAccessoryVisiblity];
}

- (void)addressViewModel:(__unused STPAddressViewModel *)addressViewModel removedCellAtIndex:(NSUInteger)index {
Expand Down

0 comments on commit fe5b1aa

Please sign in to comment.