2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Add feed icons.

This commit is contained in:
John Preston
2018-02-22 16:50:56 +03:00
parent a1be63f890
commit c3c9ba7e51
11 changed files with 71 additions and 26 deletions

View File

@@ -659,7 +659,7 @@ void DialogsInner::paintSearchInFeed(
const auto paintUserpic = [&](Painter &p, int x, int y, int size) {
feed->paintUserpicLeft(p, x, y, fullWidth, size);
};
const auto icon = nullptr;
const auto icon = Dialogs::Layout::FeedTypeIcon(feed, false, false);
paintSearchInFilter(p, paintUserpic, top, fullWidth, icon, text);
}