Removed unused variable in SetupDiscussButton
This commit is contained in:
parent
e3e80290d1
commit
7e9a0e9db3
1 changed files with 0 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue