RoomTableViewCell: Replace the direct chat icon with a green ring

This commit is contained in:
Giom Foret
2017-07-12 15:51:28 +02:00
parent 6d5961c1f2
commit 034191a726
4 changed files with 36 additions and 27 deletions
@@ -712,13 +712,9 @@
{
[roomCell render:room];
}
roomCell.directRoomIcon.hidden = NO;
roomCell.encryptedRoomIcon.hidden = !room.state.isEncrypted;
}
else
{
roomCell.directRoomIcon.hidden = YES;
roomCell.avatarImageView.image = [UIImage imageNamed:@"start_chat"];
roomCell.avatarImageView.backgroundColor = [UIColor clearColor];
roomCell.avatarImageView.userInteractionEnabled = NO;