Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Eric Kotato 2019-10-07 19:48:28 +03:00
commit 1b1a6ed482

View file

@ -97,6 +97,7 @@ void Inner::checkRestrictedPeer() {
_restrictedLabel.create(this, *error, st::stickersRestrictedLabel);
_restrictedLabel->show();
_restrictedLabel->move(st::inlineResultsLeft - st::buttonRadius, st::stickerPanPadding);
_restrictedLabel->resizeToNaturalWidth(width() - (st::inlineResultsLeft - st::buttonRadius) * 2);
if (_switchPmButton) {
_switchPmButton->hide();
}