Skip to content

Commit

Permalink
Fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Friend-LGA committed Dec 2, 2015
1 parent 441458e commit 412056e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion LGPlusButtonsView.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'LGPlusButtonsView'
s.version = '1.1.0'
s.version = '1.1.1'
s.platform = :ios, '6.0'
s.license = 'MIT'
s.homepage = 'https://github.com/Friend-LGA/LGPlusButtonsView'
Expand Down
4 changes: 2 additions & 2 deletions LGPlusButtonsView/LGPlusButtonsView.m
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,7 @@ - (void)showButtonsAnimated:(BOOL)animated completionHandler:(void(^)())completi
animated:animated
completionHandler:^(BOOL result)
{
if (result && index == _buttonsArray.count)
if (result && index == _buttonsArray.count-1)
{
if (completionHandler) completionHandler();

Expand Down Expand Up @@ -1525,7 +1525,7 @@ - (void)hideButtonsAnimated:(BOOL)animated completionHandler:(void(^)())completi
animated:animated
completionHandler:^(BOOL result)
{
if (result && index == _buttonsArray.count)
if (result && index == _buttonsArray.count-1)
{
if (completionHandler) completionHandler();

Expand Down

0 comments on commit 412056e

Please sign in to comment.