Room lists: Remove shields on room avatars

#4115

but keep it in the room screen
This commit is contained in:
manuroe
2021-03-16 08:59:50 +01:00
parent 7da97ce1c3
commit c7e413dc37
7 changed files with 6 additions and 89 deletions
@@ -146,16 +146,7 @@ static const CGFloat kDirectRoomBorderWidth = 3.0;
}
self.directRoomBorderView.hidden = !roomCellData.roomSummary.room.isDirect;
if (roomCellData.roomSummary.isEncrypted)
{
self.encryptedRoomIcon.hidden = NO;
self.encryptedRoomIcon.image = [EncryptionTrustLevelBadgeImageHelper roomBadgeImageFor:roomCellData.roomSummary.roomEncryptionTrustLevel];
}
else
{
self.encryptedRoomIcon.hidden = YES;
}
self.encryptedRoomIcon.hidden = YES;
[roomCellData.roomSummary setRoomAvatarImageIn:self.roomAvatar];
}