mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 18:12:44 +02:00
Bug Fix - Chat screen: several encryption icons are displayed on the same event.
Fix tap handling on encryption icons (related to #1361)
This commit is contained in:
@@ -95,6 +95,12 @@ NSString *const kRoomEncryptedDataBubbleCellTapOnEncryptionIcon = @"kRoomEncrypt
|
||||
for (NSUInteger componentIndex = 0; componentIndex < bubbleComponents.count; componentIndex++)
|
||||
{
|
||||
component = bubbleComponents[componentIndex];
|
||||
|
||||
// Ignore components without display.
|
||||
if (!component.attributedTextMessage)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
UIImage *icon = [RoomEncryptedDataBubbleCell encryptionIconForEvent:component.event andSession:bubbleData.mxSession];
|
||||
UIImageView *encryptStatusImageView = [[UIImageView alloc] initWithImage:icon];
|
||||
|
||||
Reference in New Issue
Block a user