From e6a665d34eae11a75bf1a0a1e71af214ee52ce55 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 5 Dec 2018 00:02:35 +0300 Subject: Cleanup analyze warnings --- Juick/Views/ConversationCell.m | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Juick/Views/ConversationCell.m') diff --git a/Juick/Views/ConversationCell.m b/Juick/Views/ConversationCell.m index 4a0be13..bcf99e7 100644 --- a/Juick/Views/ConversationCell.m +++ b/Juick/Views/ConversationCell.m @@ -11,16 +11,11 @@ @implementation ConversationCell -- (void)awakeFromNib { - [super awakeFromNib]; - // Initialization code -} - -(void) configureWithChat:(Chat *)chat { self.chatName.textColor = [ColorScheme linkColor]; self.chatName.text = chat.uname; self.lastMessage.text = chat.lastMessageText; - self.unreadMarker.hidden = chat.unreadCount > 0; + self.unreadMarker.hidden = true; __weak UIImageView *weakAvatar = self.avatar; [self.avatar setImageWithURLRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:chat.avatar]] placeholderImage:nil success:^(NSURLRequest * _Nonnull request, NSHTTPURLResponse * _Nullable response, UIImage * _Nonnull image) { [UIView transitionWithView:weakAvatar -- cgit v1.2.3