From 9f4b7a156a40769a0383911ab38e9ed09f986507 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 27 Mar 2017 01:22:24 +0300 Subject: fix reply updates --- Juick/Views/MessageCell.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Juick/Views/MessageCell.m') 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; -- cgit v1.2.3