FileWithoutThumbnailBaseBubbleCell: Update attributed text usage.

This commit is contained in:
SBiOSoftWhare
2022-02-09 16:32:58 +01:00
parent 29f41a314f
commit 9dcc10ab8a
@@ -22,12 +22,8 @@ class FileWithoutThumbnailBaseBubbleCell: SizableBaseBubbleCell, BubbleCellReact
override func render(_ cellData: MXKCellData!) {
super.render(cellData)
guard let data = cellData as? RoomBubbleCellData else {
return
}
self.fileAttachementView?.titleLabel.attributedText = data.attributedTextMessage
self.fileAttachementView?.titleLabel.attributedText = self.suitableAttributedTextMessage
self.update(theme: ThemeService.shared().theme)
}