RoomVC: Use cells with encryption badge only if needed in order to recover horizontal white space.

This commit is contained in:
SBiOSoftWhare
2020-02-06 18:46:32 +01:00
parent 2fc2431c4c
commit 490f45c9de
11 changed files with 46 additions and 77 deletions
@@ -43,7 +43,7 @@
MXKRoomBubbleComponent *component = bubbleData.bubbleComponents.firstObject;
if (component)
{
self.encryptionStatusView.image = [RoomEncryptedDataBubbleCell encryptionIconForEvent:component.event andSession:bubbleData.mxSession];
self.encryptionStatusView.image = [RoomEncryptedDataBubbleCell encryptionIconForBubbleComponent:component];
}
}
}
@@ -63,4 +63,4 @@
}
}
@end
@end