Skip to content

Commit 33a8b3c

Browse files
committed
Adjusted bottom margin properly
1 parent 8f6aacb commit 33a8b3c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHSlackTextViewController.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@version = "1.10.1"
1+
@version = "1.10.2"
22

33
Pod::Spec.new do |s|
44
s.name = "CHSlackTextViewController"

Source/SLKTextViewController.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//
1+
://
22
// SlackTextViewController
33
// https://github.com/slackhq/SlackTextViewController
44
//
@@ -460,7 +460,7 @@ - (CGFloat)slk_appropriateBottomMargin
460460
}
461461

462462
CGFloat height = SLK_IS_IPHONE6PLUS ? 231 : 221;
463-
return self.menuAccesoryView == nil ? 0.0 : height;
463+
return self.menuAccesoryView == nil ? self.textInputBarBC : height;
464464
}
465465

466466
- (CGFloat)slk_appropriateScrollViewHeight

0 commit comments

Comments
 (0)