MESSENGER 5236 remove grey green and red shield for room and user avatar

This commit is contained in:
JanNiklas Grabowski
2023-10-27 14:37:22 +02:00
parent 76fe39bad5
commit 5aa841d45f
5 changed files with 36 additions and 12 deletions
+2 -2
View File
@@ -2238,8 +2238,8 @@ static CGSize kThreadListBarButtonItemImageSize;
- (UIImage*)roomEncryptionBadgeImage
{
UIImage *encryptionIcon;
if (self.isEncryptionEnabled)
// bwi: #5236 remove encryption status shield
if (self.isEncryptionEnabled && BWIBuildSettings.shared.showEncryptionStatusBadgeOnAvatar)
{
RoomEncryptionTrustLevel roomEncryptionTrustLevel = ((RoomDataSource*)self.roomDataSource).encryptionTrustLevel;