RoomDataSource: Apply theme if needed.

This commit is contained in:
SBiOSoftWhare
2022-02-08 07:06:36 +01:00
parent fb7e4ff2d7
commit d03209379d
@@ -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;
}