mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
Refactoring and tidy up.
Make the preview manager a singleton (passing in the MXSession to functions). Fix tests. PreviewManager → URLPreviewManager URLPreviewViewData → URLPreviewData URLPreviewCache → URLPreviewStore
This commit is contained in:
@@ -1259,7 +1259,7 @@ const CGFloat kTypingCellHeight = 24;
|
||||
}
|
||||
|
||||
// Remember that the user closed the preview so it isn't shown again.
|
||||
[LegacyAppDelegate.theDelegate.previewManager closePreviewFor:eventID in:roomID];
|
||||
[URLPreviewManager.shared closePreviewFor:eventID in:roomID];
|
||||
|
||||
// Remove the preview data and refresh the cells.
|
||||
cellData.urlPreviewData = nil;
|
||||
|
||||
Reference in New Issue
Block a user