BaseBubbleCell: Expose current theme.

This commit is contained in:
SBiOSoftWhare
2022-01-25 15:39:21 +01:00
parent 50321c2595
commit e1b179788f
@@ -34,6 +34,8 @@ class BaseBubbleCell: MXKRoomBubbleTableViewCell, BaseBubbleCellType {
weak var bubbleCellContentView: BubbleCellContentView?
private(set) var theme: Theme?
// Overrides
override var bubbleInfoContainer: UIView! {
@@ -201,6 +203,7 @@ class BaseBubbleCell: MXKRoomBubbleTableViewCell, BaseBubbleCellType {
// MARK: - Themable
func update(theme: Theme) {
self.theme = theme
self.bubbleCellContentView?.update(theme: theme)
}