remove unnecessary code

This commit is contained in:
zhongwuzw
2017-12-10 13:41:05 +08:00
parent 20ae451a3a
commit 71a11155f2
-1
View File
@@ -460,7 +460,6 @@ open class MessageInputBar: UIView {
var inputTextViewHeight = requiredInputTextViewHeight
if inputTextViewHeight >= maxTextViewHeight {
if !isOverMaxTextViewHeight {
textViewHeightAnchor?.constant = maxTextViewHeight
textViewHeightAnchor?.isActive = true
inputTextView.isScrollEnabled = true
isOverMaxTextViewHeight = true