mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Merge pull request #5518 from vector-im/steve/bubbles_text_msg
Message bubbles: Create new text message cells for bubbles
This commit is contained in:
@@ -46,6 +46,11 @@
|
||||
*/
|
||||
NSAttributedString *attributedTextMessage;
|
||||
|
||||
/**
|
||||
Same as attributedTextMessage but without vertical positioning vertical blank space.
|
||||
*/
|
||||
NSAttributedString *attributedTextMessageWithoutPositioningSpace;
|
||||
|
||||
/**
|
||||
The optional text pattern to be highlighted in the body of the message.
|
||||
*/
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
@implementation MXKRoomBubbleCellData
|
||||
@synthesize senderId, targetId, roomId, senderDisplayName, senderAvatarUrl, senderAvatarPlaceholder, targetDisplayName, targetAvatarUrl, targetAvatarPlaceholder, isEncryptedRoom, isPaginationFirstBubble, shouldHideSenderInformation, date, isIncoming, isAttachmentWithThumbnail, isAttachmentWithIcon, attachment, senderFlair;
|
||||
@synthesize textMessage, attributedTextMessage;
|
||||
@synthesize textMessage, attributedTextMessage, attributedTextMessageWithoutPositioningSpace;
|
||||
@synthesize shouldHideSenderName, isTyping, showBubbleDateTime, showBubbleReceipts, useCustomDateTimeLabel, useCustomReceipts, useCustomUnsentButton, hasNoDisplay;
|
||||
@synthesize tag;
|
||||
@synthesize collapsable, collapsed, collapsedAttributedTextMessage, prevCollapsableCellData, nextCollapsableCellData, collapseState;
|
||||
|
||||
@@ -163,6 +163,10 @@
|
||||
*/
|
||||
@property (nonatomic) NSAttributedString *attributedTextMessage;
|
||||
|
||||
/**
|
||||
Same as attributedTextMessage but without vertical positioning blank space
|
||||
*/
|
||||
@property (nonatomic) NSAttributedString *attributedTextMessageWithoutPositioningSpace;
|
||||
/**
|
||||
The raw text message (without attributes)
|
||||
*/
|
||||
|
||||
@@ -75,11 +75,9 @@
|
||||
- (MXKCellData*)renderedCellData;
|
||||
|
||||
/**
|
||||
Reset the cell.
|
||||
Stop processes no more needed when cell is not visible.
|
||||
|
||||
The cell is no more displayed. This is time to release resources and removing listeners.
|
||||
In case of UITableViewCell or UIContentViewCell object, the cell must reset in a state
|
||||
that it can be reusable.
|
||||
The cell is no more displayed but still recycled. This is time to stop animation.
|
||||
*/
|
||||
- (void)didEndDisplay;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user