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

Remove unused variables

This commit is contained in:
Klemens Nanni
2022-01-26 04:03:59 +03:00
committed by John Preston
parent 9f3f734b8c
commit 6decece009
4 changed files with 0 additions and 9 deletions

View File

@@ -500,10 +500,8 @@ void paintRow(
paintItemCallback(nameleft, namewidth);
} else if (entry->isPinnedDialog(filterId) && (filterId || !entry->fixedOnTopIndex())) {
auto availableWidth = namewidth;
auto &icon = (active ? st::dialogsPinnedIconActive : (selected ? st::dialogsPinnedIconOver : st::dialogsPinnedIcon));
icon.paint(p, fullWidth - st::dialogsPadding.x() - icon.width(), texttop, fullWidth);
availableWidth -= icon.width() + st::dialogsUnreadPadding;
}
auto sendStateIcon = [&]() -> const style::icon* {
if (draft) {