Removed unused variable in SetupDiscussButton

This commit is contained in:
Eric Kotato 2021-12-13 22:43:21 +03:00
parent e3e80290d1
commit 7e9a0e9db3

View file

@ -255,9 +255,6 @@ object_ptr<Ui::FlatButton> 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;