Merge pull request #34 from diegosanchezr/master
Fixes autolayout warnings
This commit is contained in:
commit
62b09af22e
|
|
@ -76,8 +76,8 @@ public class ChatInputBar: ReusableXibView {
|
|||
NSLayoutConstraint.activateConstraints(self.constraintsForHiddenTextView)
|
||||
}
|
||||
if self.showsSendButton {
|
||||
NSLayoutConstraint.activateConstraints(self.constraintsForVisibleSendButton)
|
||||
NSLayoutConstraint.deactivateConstraints(self.constraintsForHiddenSendButton)
|
||||
NSLayoutConstraint.activateConstraints(self.constraintsForVisibleSendButton)
|
||||
} else {
|
||||
NSLayoutConstraint.deactivateConstraints(self.constraintsForVisibleSendButton)
|
||||
NSLayoutConstraint.activateConstraints(self.constraintsForHiddenSendButton)
|
||||
|
|
|
|||
Loading…
Reference in New Issue