BaseBubbleCell: Expose current theme.

This commit is contained in:
SBiOSoftWhare
2022-01-25 15:39:21 +01:00
parent 62c6520e1d
commit 203f18fcce
@@ -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)
}