mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
FileWithoutThumbnailBaseBubbleCell: Update attributed text usage.
This commit is contained in:
parent
f60c9d7a03
commit
c7c0519e76
1 changed files with 2 additions and 6 deletions
|
@ -23,11 +23,7 @@ class FileWithoutThumbnailBaseBubbleCell: SizableBaseBubbleCell, BubbleCellReact
|
||||||
override func render(_ cellData: MXKCellData!) {
|
override func render(_ cellData: MXKCellData!) {
|
||||||
super.render(cellData)
|
super.render(cellData)
|
||||||
|
|
||||||
guard let data = cellData as? RoomBubbleCellData else {
|
self.fileAttachementView?.titleLabel.attributedText = self.suitableAttributedTextMessage
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
self.fileAttachementView?.titleLabel.attributedText = data.attributedTextMessage
|
|
||||||
|
|
||||||
self.update(theme: ThemeService.shared().theme)
|
self.update(theme: ThemeService.shared().theme)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue