summaryrefslogtreecommitdiff
path: root/Juick/Views/MessageInputView.m
diff options
context:
space:
mode:
Diffstat (limited to 'Juick/Views/MessageInputView.m')
-rw-r--r--Juick/Views/MessageInputView.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/Juick/Views/MessageInputView.m b/Juick/Views/MessageInputView.m
index ab6b3e5..c4d96de 100644
--- a/Juick/Views/MessageInputView.m
+++ b/Juick/Views/MessageInputView.m
@@ -15,4 +15,8 @@
[self setTintColor:[UIColor colorNamed:@"Title"]];
}
+- (IBAction)sendPressed:(id)sender {
+ [self.delegate textSent:self.textView.text];
+ self.textView.text = nil;
+}
@end