+ Prevent Messages without any text from ever being sent.

This commit is contained in:
moritz haarmann
2014-02-27 11:16:22 +01:00
parent cb48105663
commit 74f9e5d5ca
2 changed files with 2 additions and 1 deletions

View File

@@ -327,7 +327,7 @@
}
- (void)updateBarButtonState {
if (self.textView.text.length == 0 && self.attachments.count == 0 ) {
if (self.textView.text.length > 0 ) {
self.navigationItem.rightBarButtonItem.enabled = NO;
} else {
self.navigationItem.rightBarButtonItem.enabled = YES;