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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user