Closed beta 1000020001: remove chats list padding. Fix #3098

Also return config requesting at the beginning of each app launch.
This commit is contained in:
John Preston 2017-03-10 19:59:25 +03:00
parent 02da80439b
commit 1df955e30a
2 changed files with 1 additions and 3 deletions

View File

@ -3083,8 +3083,6 @@ void DialogsWidget::updateControlsGeometry() {
auto updateHeight = _updateTelegram->height();
_updateTelegram->setGeometry(0, height() - updateHeight, width(), updateHeight);
scrollHeight -= updateHeight;
} else {
scrollHeight -= st::dialogsPadding.y();
}
_scroll->setGeometry(0, scrollTop, width(), scrollHeight);
if (addToScroll) {

View File

@ -262,7 +262,7 @@ DcId Instance::Private::mainDcId() const {
}
void Instance::Private::configLoadRequest() {
if (_configLoader || true) {
if (_configLoader) {
return;
}
_configLoader = std::make_unique<internal::ConfigLoader>(_instance, rpcDone([this](const MTPConfig &result) {