From 7e9a0e9db37319e686d968a96418dc54b95dd57d Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Mon, 13 Dec 2021 22:43:21 +0300 Subject: [PATCH] Removed unused variable in SetupDiscussButton --- Telegram/SourceFiles/history/history_widget.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Telegram/SourceFiles/history/history_widget.cpp b/Telegram/SourceFiles/history/history_widget.cpp index 5b3313c73..350174879 100644 --- a/Telegram/SourceFiles/history/history_widget.cpp +++ b/Telegram/SourceFiles/history/history_widget.cpp @@ -255,9 +255,6 @@ object_ptr SetupDiscussButton( int labelWidth, int width) { const auto textTop = st::historyComposeButton.textTop; - const auto badgeTop = textTop - + st::historyComposeButton.font->height - - badge->textBaseline(); const auto add = badgeShown ? (textTop + badgeWidth) : 0;