mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user