2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 23:45:44 +00:00

Fix glitches in search results.

This commit is contained in:
John Preston
2022-12-06 20:32:58 +04:00
parent 6abfdd20fa
commit a8106aa38d
4 changed files with 15 additions and 3 deletions

View File

@@ -799,6 +799,13 @@ void PaintUnreadBadge(QPainter &p, const QRect &rect, const UnreadBadgeStyle &st
} // namespace
const style::icon *ChatTypeIcon(not_null<PeerData*> peer) {
return ChatTypeIcon(peer, {
.st = &st::defaultDialogRow,
.currentBg = st::windowBg,
});
}
const style::icon *ChatTypeIcon(
not_null<PeerData*> peer,
const PaintContext &context) {