summaryrefslogtreecommitdiff
path: root/Juick/Views
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-12-05 00:02:35 +0300
committerGravatar Vitaly Takmazov2018-12-05 00:02:35 +0300
commite6a665d34eae11a75bf1a0a1e71af214ee52ce55 (patch)
treeaa8d5b1964dd21edf893390ea796e6e2117419c0 /Juick/Views
parent63e22269ec2d0295a7b170a88330a712d883eb24 (diff)
Cleanup analyze warnings
Diffstat (limited to 'Juick/Views')
-rw-r--r--Juick/Views/ConversationCell.m7
1 files changed, 1 insertions, 6 deletions
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