diff --git a/Vector/Views/RoomBubbleList/Encryption/RoomEncryptedDataBubbleCell.m b/Vector/Views/RoomBubbleList/Encryption/RoomEncryptedDataBubbleCell.m index 42454e1b0..baf688d83 100644 --- a/Vector/Views/RoomBubbleList/Encryption/RoomEncryptedDataBubbleCell.m +++ b/Vector/Views/RoomBubbleList/Encryption/RoomEncryptedDataBubbleCell.m @@ -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 \ No newline at end of file +@end