Show an activity indicator until the preview has loaded.

This commit is contained in:
Doug
2021-09-02 17:37:48 +01:00
parent 2e795607bb
commit 885f3208bf
10 changed files with 88 additions and 32 deletions
@@ -33,7 +33,7 @@
{
RoomBubbleCellData *bubbleData = (RoomBubbleCellData*)cellData;
if (bubbleData && bubbleData.urlPreviewData)
if (bubbleData && bubbleData.showURLPreview)
{
CGFloat height = [super heightForCellData:cellData withMaximumWidth:maxWidth];
return height + RoomBubbleCellLayout.urlPreviewViewTopMargin + [URLPreviewView contentViewHeightFor:bubbleData.urlPreviewData];