Skip to content

Commit

Permalink
Fix possible crash
Browse files Browse the repository at this point in the history
  • Loading branch information
ppaulojr committed Jun 1, 2018
1 parent 700d40f commit 98237e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions PPJEmailPicker.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Pod::Spec.new do |s|
#

s.name = "PPJEmailPicker"
s.version = "1.1.12"
s.version = "1.1.13"
s.summary = "An UITextField replacement to select multiple e-mails"

# This description is used to generate tags and improve search results.
Expand Down Expand Up @@ -70,7 +70,7 @@ The goal is to create a control similar to GMail, Outlook or Mail.app `from` fie
# Supports git, hg, bzr, svn and HTTP.
#

s.source = { :git => "https://github.com/ppaulojr/PPJEmailPicker.git", :tag => "1.1.12" }
s.source = { :git => "https://github.com/ppaulojr/PPJEmailPicker.git", :tag => "1.1.13" }


# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
Expand Down
2 changes: 1 addition & 1 deletion PPJEmailPicker/PPJEmailPicker.m
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ -(CGFloat) tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPa

-(void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
if (indexPath.row >= self.possibleStrings.count)
if (indexPath.row >= self.possibleStringsFiltered.count)
{
return;
}
Expand Down

0 comments on commit 98237e3

Please sign in to comment.