parent
a41f6540f1
commit
22bce76f1d
1 changed files with 1 additions and 1 deletions
|
|
@ -444,7 +444,7 @@ void PinMessageBox::prepare() {
|
||||||
addButton(tr::lng_cancel(), [this] { closeBox(); });
|
addButton(tr::lng_cancel(), [this] { closeBox(); });
|
||||||
|
|
||||||
if (_peer->isChat() || _peer->isMegagroup()) {
|
if (_peer->isChat() || _peer->isMegagroup()) {
|
||||||
_notify.create(this, tr::lng_pinned_notify(tr::now), true, st::defaultBoxCheckbox);
|
_notify.create(this, tr::lng_pinned_notify(tr::now), false, st::defaultBoxCheckbox);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto height = st::boxPadding.top() + _text->height() + st::boxPadding.bottom();
|
auto height = st::boxPadding.top() + _text->height() + st::boxPadding.bottom();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue