mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Fix channel post views with replies counters.
This commit is contained in:
parent
67319c1612
commit
68886e1b61
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue