Skip to content

Commit 412056e

Browse files
committed
Fixed bugs
1 parent 441458e commit 412056e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

LGPlusButtonsView.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = 'LGPlusButtonsView'
4-
s.version = '1.1.0'
4+
s.version = '1.1.1'
55
s.platform = :ios, '6.0'
66
s.license = 'MIT'
77
s.homepage = 'https://github.com/Friend-LGA/LGPlusButtonsView'

LGPlusButtonsView/LGPlusButtonsView.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ - (void)showButtonsAnimated:(BOOL)animated completionHandler:(void(^)())completi
14621462
animated:animated
14631463
completionHandler:^(BOOL result)
14641464
{
1465-
if (result && index == _buttonsArray.count)
1465+
if (result && index == _buttonsArray.count-1)
14661466
{
14671467
if (completionHandler) completionHandler();
14681468

@@ -1525,7 +1525,7 @@ - (void)hideButtonsAnimated:(BOOL)animated completionHandler:(void(^)())completi
15251525
animated:animated
15261526
completionHandler:^(BOOL result)
15271527
{
1528-
if (result && index == _buttonsArray.count)
1528+
if (result && index == _buttonsArray.count-1)
15291529
{
15301530
if (completionHandler) completionHandler();
15311531

0 commit comments

Comments
 (0)