MESSENGER_2910 buildfixes V Contentscanner

This commit is contained in:
Frank Rotermund
2022-05-03 15:38:03 +02:00
parent e8abb52251
commit e0904ba65e
2 changed files with 9 additions and 8 deletions
@@ -20,7 +20,7 @@ import Foundation
import UIKit
@objcMembers
class ContentScannerBaseCell: SizableBaseBubbleCell, BubbleCellReadReceiptsDisplayable, BubbleCellReactionsDisplayable {
class ContentScannerBaseCell: SizableBaseRoomCell, RoomCellReadReceiptsDisplayable, RoomCellReactionsDisplayable {
var innerContent: ContentScannerContentDelegate?
var scanStatusViewData: ContentScannerStatusViewData?
@@ -61,8 +61,8 @@ class ContentScannerBaseCell: SizableBaseBubbleCell, BubbleCellReadReceiptsDispl
guard let roomBubbleCellData = cellData as? RoomBubbleCellData else {
return
}
self.bubbleCellContentView?.showEncryptionStatus = roomBubbleCellData.containsBubbleComponentWithEncryptionBadge
self.bubbleCellContentView?.showSenderInfo = !roomBubbleCellData.shouldHideSenderInformation
self.bubbleCellContentView?.showPaginationTitle = roomBubbleCellData.isPaginationFirstBubble
self.roomCellContentView?.showEncryptionStatus = roomBubbleCellData.containsBubbleComponentWithEncryptionBadge
self.roomCellContentView?.showSenderInfo = !roomBubbleCellData.shouldHideSenderInformation
self.roomCellContentView?.showPaginationTitle = roomBubbleCellData.isPaginationFirstBubble
}
}