make use of Obj-C's modern syntax for literals and subscripting

This commit is contained in:
fridtjof
2019-01-08 00:24:11 +01:00
parent e02e2f308f
commit 2839a24058
27 changed files with 195 additions and 197 deletions
@@ -275,7 +275,7 @@ static NSAttributedString *readReceiptVerticalWhitespace = nil;
for (; index < bubbleComponents.count; index++)
{
// Compute the vertical position for next component
component = [bubbleComponents objectAtIndex:index];
component = bubbleComponents[index];
component.position = CGPointMake(0, positionY);
@@ -316,7 +316,7 @@ static NSAttributedString *readReceiptVerticalWhitespace = nil;
for (index++; index < bubbleComponents.count; index++)
{
// Compute the vertical position for next component
component = [bubbleComponents objectAtIndex:index];
component = bubbleComponents[index];
if (component.attributedTextMessage)
{