mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 09:02:44 +02:00
BaseBubbleCell: Expose current theme.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user