summaryrefslogtreecommitdiff
path: root/Juick/Views
diff options
context:
space:
mode:
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