From b56fb294207231bfe79616ae748215667bf0695b Mon Sep 17 00:00:00 2001 From: Leo Date: Wed, 23 Nov 2016 12:33:22 +0800 Subject: [PATCH] fix bug --- LCActionSheet.podspec | 2 +- LCActionSheet/LCActionSheet.h | 2 +- LCActionSheet/LCActionSheet.m | 2 +- LCActionSheetDemo/Info.plist | 2 +- README.md | 5 +++++ 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/LCActionSheet.podspec b/LCActionSheet.podspec index db25add..bde1968 100644 --- a/LCActionSheet.podspec +++ b/LCActionSheet.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "LCActionSheet" - s.version = "2.6.1" + s.version = "2.6.2" s.summary = "A simple, ornamental, but powerful action sheet! Support: http://LeoDev.me" s.homepage = "https://github.com/iTofu/LCActionSheet" s.license = "MIT" diff --git a/LCActionSheet/LCActionSheet.h b/LCActionSheet/LCActionSheet.h index def480c..6edd6b6 100644 --- a/LCActionSheet/LCActionSheet.h +++ b/LCActionSheet/LCActionSheet.h @@ -8,7 +8,7 @@ // GitHub: http://github.com/iTofu // Mail: mailto:devtip@163.com // -// V 2.6.1 +// V 2.6.2 #import diff --git a/LCActionSheet/LCActionSheet.m b/LCActionSheet/LCActionSheet.m index 2d41c8a..08b490d 100644 --- a/LCActionSheet/LCActionSheet.m +++ b/LCActionSheet/LCActionSheet.m @@ -474,7 +474,7 @@ - (void)setTitleColor:(UIColor *)aTitleColor { - (void)setButtonColor:(UIColor *)aButtonColor { buttonColor = aButtonColor; - self.cancelButton.titleLabel.textColor = aButtonColor; + [self.cancelButton setTitleColor:aButtonColor forState:UIControlStateNormal]; [self.tableView reloadData]; } diff --git a/LCActionSheetDemo/Info.plist b/LCActionSheetDemo/Info.plist index e121d1f..aae77ee 100644 --- a/LCActionSheetDemo/Info.plist +++ b/LCActionSheetDemo/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 2.6.1 + 2.6.2 CFBundleSignature ???? CFBundleVersion diff --git a/README.md b/README.md index c799f2f..0b43894 100644 --- a/README.md +++ b/README.md @@ -180,6 +180,11 @@ In me the tiger sniffs the rose. ## 版本 ChangeLog +### V 2.6.2 (2016.11.23) + +* 修复更换按钮颜色对取消按钮失效的 Bug。 + + ### V 2.6.1 (2016.11.22) * 优化标题为空时的效果。