From e297a86bf2500d233a4d0a581e2c72a82a0b4d31 Mon Sep 17 00:00:00 2001 From: Diego Sanchez Date: Tue, 2 Feb 2016 22:58:12 +0000 Subject: [PATCH] Fixes autolayout warnings --- ChattoAdditions/Source/Input/ChatInputBar.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ChattoAdditions/Source/Input/ChatInputBar.swift b/ChattoAdditions/Source/Input/ChatInputBar.swift index b7c9795..7c9bddd 100644 --- a/ChattoAdditions/Source/Input/ChatInputBar.swift +++ b/ChattoAdditions/Source/Input/ChatInputBar.swift @@ -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)