mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
make use of Obj-C's modern syntax for literals and subscripting
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user