diff options
Diffstat (limited to 'Juick')
-rw-r--r-- | Juick/ViewControllers/MessagesViewController.m | 1 | ||||
-rw-r--r-- | Juick/Views/ConversationCell.m | 7 |
2 files changed, 2 insertions, 6 deletions
diff --git a/Juick/ViewControllers/MessagesViewController.m b/Juick/ViewControllers/MessagesViewController.m index 77406a6..265df51 100644 --- a/Juick/ViewControllers/MessagesViewController.m +++ b/Juick/ViewControllers/MessagesViewController.m @@ -83,6 +83,7 @@ - (void)viewDidLoad { + [super viewDidLoad]; self.dataLoading = YES; [self.view setBackgroundColor:[ColorScheme mainBackground]]; [self.tableView registerNib:[UINib nibWithNibName:@"MessageCell" bundle:[NSBundle mainBundle]] forCellReuseIdentifier:@"messageCell"]; 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 |