Move hasThreadRoot into MXKRoomBubbleCellDataStoring protocol

This commit is contained in:
ismailgulek
2022-06-13 13:52:46 +03:00
parent eb430fa742
commit 9b542fd8f8
3 changed files with 21 additions and 21 deletions
@@ -467,6 +467,22 @@
}
}
- (BOOL)hasThreadRoot
{
@synchronized (bubbleComponents)
{
for (MXKRoomBubbleComponent *component in bubbleComponents)
{
if (component.thread)
{
return YES;
}
}
}
return NO;
}
#pragma mark -
- (void)invalidateTextLayout
@@ -656,22 +672,6 @@
return NO;
}
- (BOOL)hasThreadRoot
{
@synchronized (bubbleComponents)
{
for (MXKRoomBubbleComponent *component in bubbleComponents)
{
if (component.thread)
{
return YES;
}
}
}
return NO;
}
- (MXKRoomBubbleComponentDisplayFix)displayFix
{
MXKRoomBubbleComponentDisplayFix displayFix = MXKRoomBubbleComponentDisplayFixNone;