Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
1b1a6ed482
1 changed files with 1 additions and 0 deletions
|
|
@ -97,6 +97,7 @@ void Inner::checkRestrictedPeer() {
|
||||||
_restrictedLabel.create(this, *error, st::stickersRestrictedLabel);
|
_restrictedLabel.create(this, *error, st::stickersRestrictedLabel);
|
||||||
_restrictedLabel->show();
|
_restrictedLabel->show();
|
||||||
_restrictedLabel->move(st::inlineResultsLeft - st::buttonRadius, st::stickerPanPadding);
|
_restrictedLabel->move(st::inlineResultsLeft - st::buttonRadius, st::stickerPanPadding);
|
||||||
|
_restrictedLabel->resizeToNaturalWidth(width() - (st::inlineResultsLeft - st::buttonRadius) * 2);
|
||||||
if (_switchPmButton) {
|
if (_switchPmButton) {
|
||||||
_switchPmButton->hide();
|
_switchPmButton->hide();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue