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

View file

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