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 labelWidth,
|
||||||
int width) {
|
int width) {
|
||||||
const auto textTop = st::historyComposeButton.textTop;
|
const auto textTop = st::historyComposeButton.textTop;
|
||||||
const auto badgeTop = textTop
|
|
||||||
+ st::historyComposeButton.font->height
|
|
||||||
- badge->textBaseline();
|
|
||||||
const auto add = badgeShown
|
const auto add = badgeShown
|
||||||
? (textTop + badgeWidth)
|
? (textTop + badgeWidth)
|
||||||
: 0;
|
: 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue