Fix channel post views with replies counters.

This commit is contained in:
John Preston 2021-12-31 14:48:56 +03:00
parent 67319c1612
commit 68886e1b61
1 changed files with 4 additions and 2 deletions

View File

@ -167,9 +167,10 @@ void BottomInfo::paint(
const auto &icon = inverted
? st->historyViewsInvertedIcon()
: stm->historyViewsIcon;
right -= st::historyViewsWidth;
icon.paint(
p,
right - st::historyViewsWidth,
right,
firstLineBottom + st::historyViewsTop,
outerWidth);
}
@ -181,9 +182,10 @@ void BottomInfo::paint(
const auto &icon = inverted
? st->historyRepliesInvertedIcon()
: stm->historyRepliesIcon;
right -= st::historyViewsWidth;
icon.paint(
p,
right - st::historyViewsWidth,
right,
firstLineBottom + st::historyViewsTop,
outerWidth);
}