Load and store URLPreviewViewData in RoomBubbleCellData.

Implement close button and store the action in Core Data. Hide the preview image view when no image is received. Remove line breaks in description text.
This commit is contained in:
Doug
2021-09-01 10:37:37 +01:00
parent 660b95b20a
commit 4331994d72
28 changed files with 716 additions and 376 deletions
@@ -20,12 +20,6 @@ import Foundation
@objcMembers
final class RoomBubbleCellLayout: NSObject {
// URL Previews
static let urlPreviewViewTopMargin: CGFloat = 8.0
static let urlPreviewViewHeight: CGFloat = 247.0
static let urlPreviewViewWidth: CGFloat = 267.0
// Reactions
static let reactionsViewTopMargin: CGFloat = 1.0
@@ -51,4 +45,5 @@ final class RoomBubbleCellLayout: NSObject {
// Others
static let encryptedContentLeftMargin: CGFloat = 15.0
static let urlPreviewViewTopMargin: CGFloat = 8.0
}