From 68886e1b61652b27696f55c20734b0349ce476f8 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 31 Dec 2021 14:48:56 +0300 Subject: [PATCH] Fix channel post views with replies counters. --- .../SourceFiles/history/view/history_view_bottom_info.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/history/view/history_view_bottom_info.cpp b/Telegram/SourceFiles/history/view/history_view_bottom_info.cpp index 665ec53596..de6d993975 100644 --- a/Telegram/SourceFiles/history/view/history_view_bottom_info.cpp +++ b/Telegram/SourceFiles/history/view/history_view_bottom_info.cpp @@ -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); }