Update for PR feedback.

URLPreviewManager becomes URLPreviewService.
addVerticalWhitespaceToString used instead of heightForCellData multiple times.
All newline characters removed.
This commit is contained in:
Doug
2021-09-08 15:10:13 +01:00
parent 0f88e8e851
commit 1963f35d30
13 changed files with 105 additions and 150 deletions
@@ -1245,7 +1245,7 @@ const CGFloat kTypingCellHeight = 24;
}
// Remember that the user closed the preview so it isn't shown again.
[URLPreviewManager.shared closePreviewFor:eventID in:roomID];
[URLPreviewService.shared closePreviewFor:eventID in:roomID];
// Hide the preview, remove its data and refresh the cells.
cellData.showURLPreview = NO;