mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Update Riot/Categories/MXKRoomBubbleTableViewCell+Riot.m
Co-Authored-By: manuroe <manuroe@users.noreply.github.com>
This commit is contained in:
parent
a62548c545
commit
4e1e95fd2c
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ NSString *const kMXKRoomBubbleCellTapOnReceiptsContainer = @"kMXKRoomBubbleCellT
|
|||
isLastMessageMostRecentComponent = roomBubbleCellData.containsLastMessage && (componentIndex == roomBubbleCellData.mostRecentComponentIndex);
|
||||
}
|
||||
|
||||
// Display timestamp on the left for selected component when there is enough space
|
||||
// Display timestamp on the left for selected component when it cannot overlap other UI elements like user's avatar
|
||||
BOOL displayLabelOnLeft = roomBubbleCellData.displayTimestampForSelectedComponentOnLeftWhenPossible && !isFirstDisplayedComponent && !isLastMessageMostRecentComponent;
|
||||
|
||||
[self addTimestampLabelForComponent:component
|
||||
|
|
Loading…
Reference in a new issue