diff options
author | Vitaly Takmazov | 2017-03-27 01:22:24 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-06-28 21:26:00 +0300 |
commit | 9f4b7a156a40769a0383911ab38e9ed09f986507 (patch) | |
tree | afc00e6222941f8bd09d9fc483e3ca181c425d8c /Juick/Views/MessageCell.m | |
parent | 92451d2a01f928ebeaa5a6ec4634b7a7ed9a0edf (diff) |
fix reply updates
Diffstat (limited to 'Juick/Views/MessageCell.m')
-rw-r--r-- | Juick/Views/MessageCell.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Juick/Views/MessageCell.m b/Juick/Views/MessageCell.m index 963707c..13f33a5 100644 --- a/Juick/Views/MessageCell.m +++ b/Juick/Views/MessageCell.m @@ -35,7 +35,9 @@ if ([msg.repliesBy length] > 0) { self.summary.text = [NSString stringWithFormat:@"%@ replies by %@", msg.repliesCount, msg.repliesBy]; } else { - self.summary.text = [NSString stringWithFormat:@"%@ replies", msg.repliesCount]; + if (msg.repliesCount > 0) { + self.summary.text = [NSString stringWithFormat:@"%@ replies", msg.repliesCount]; + } } } else { self.summary.text = nil; |