mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-25 19:10:49 +02:00
TextMessageBaseBubbleCell: Fix message text view gesture recognizers.
This commit is contained in:
+8
-6
@@ -32,21 +32,23 @@ class TextMessageBaseBubbleCell: SizableBaseRoomCell, RoomCellURLPreviewDisplaya
|
||||
// MARK: - Overrides
|
||||
|
||||
override func setupViews() {
|
||||
super.setupViews()
|
||||
|
||||
roomCellContentView?.backgroundColor = .clear
|
||||
|
||||
guard let contentView = roomCellContentView?.innerContentView else {
|
||||
return
|
||||
}
|
||||
|
||||
roomCellContentView?.innerContentViewBottomContraint.constant = BubbleRoomCellLayoutConstants.innerContentViewMargins.bottom
|
||||
|
||||
let textMessageContentView = TextMessageBubbleCellContentView.instantiate()
|
||||
|
||||
contentView.vc_addSubViewMatchingParent(textMessageContentView)
|
||||
roomCellContentView?.innerContentView.vc_addSubViewMatchingParent(textMessageContentView)
|
||||
|
||||
self.textMessageContentView = textMessageContentView
|
||||
|
||||
// Setup messageTextView property first before running `setupMessageTextView` method
|
||||
super.setupViews()
|
||||
}
|
||||
|
||||
override func setupMessageTextViewLongPressGesture() {
|
||||
// Do nothing, otherwise default setup prevent link tap
|
||||
}
|
||||
|
||||
override func update(theme: Theme) {
|
||||
|
||||
Reference in New Issue
Block a user