mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
RoomDataSource: Apply theme if needed.
This commit is contained in:
@@ -668,6 +668,13 @@ const CGFloat kTypingCellHeight = 24;
|
||||
// Make extra cell layout updates if needed
|
||||
[self updateCellLayoutIfNeeded:bubbleCell withCellData:cellData];
|
||||
}
|
||||
|
||||
if ([cell conformsToProtocol:@protocol(Themable)])
|
||||
{
|
||||
id<Themable> cellThemable = (id<Themable>)cell;
|
||||
|
||||
[cellThemable updateWithTheme:ThemeService.shared.theme];
|
||||
}
|
||||
|
||||
return cell;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user