Mark event in permalinks or search results: BF: remove systematically the marker view because a table view can be reused for another data source

This commit is contained in:
manuroe
2016-06-22 16:24:50 +02:00
parent eed0fad6ed
commit 7c7fb72449
+6 -6
View File
@@ -234,15 +234,15 @@
}
}
// Reset the marker if any
if (bubbleCell.markerView)
{
[bubbleCell.markerView removeFromSuperview];
}
// Manage initial event (case of permalink or search result)
if (self.timeline.initialEventId)
{
// Reset the marker
if (bubbleCell.markerView)
{
[bubbleCell.markerView removeFromSuperview];
}
// Check if the cell contains this initial event
for (NSUInteger index = 0; index < cellData.bubbleComponents.count; index++)
{