Fix padlock icons on text messages

Port d54c80dba0804c716d45a0e6a4713a80102d5326 from e2e_release branch
This commit is contained in:
David Baker
2016-11-18 10:39:32 +00:00
parent 4adf5cc408
commit cbe6bdf2b6
@@ -91,7 +91,7 @@ NSString *const kRoomEncryptedDataBubbleCellTapOnEncryptionIcon = @"kRoomEncrypt
NSArray *bubbleComponents = bubbleData.bubbleComponents;
MXKRoomBubbleComponent *component;
for (NSUInteger componentIndex; componentIndex < bubbleComponents.count; componentIndex++)
for (NSUInteger componentIndex = 0; componentIndex < bubbleComponents.count; componentIndex++)
{
component = bubbleComponents[componentIndex];
@@ -112,4 +112,4 @@ NSString *const kRoomEncryptedDataBubbleCellTapOnEncryptionIcon = @"kRoomEncrypt
}
}
@end
@end