mirror of https://github.com/procxx/kepka.git
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:
parent
02da80439b
commit
1df955e30a
|
@ -3083,8 +3083,6 @@ void DialogsWidget::updateControlsGeometry() {
|
||||||
auto updateHeight = _updateTelegram->height();
|
auto updateHeight = _updateTelegram->height();
|
||||||
_updateTelegram->setGeometry(0, height() - updateHeight, width(), updateHeight);
|
_updateTelegram->setGeometry(0, height() - updateHeight, width(), updateHeight);
|
||||||
scrollHeight -= updateHeight;
|
scrollHeight -= updateHeight;
|
||||||
} else {
|
|
||||||
scrollHeight -= st::dialogsPadding.y();
|
|
||||||
}
|
}
|
||||||
_scroll->setGeometry(0, scrollTop, width(), scrollHeight);
|
_scroll->setGeometry(0, scrollTop, width(), scrollHeight);
|
||||||
if (addToScroll) {
|
if (addToScroll) {
|
||||||
|
|
|
@ -262,7 +262,7 @@ DcId Instance::Private::mainDcId() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Instance::Private::configLoadRequest() {
|
void Instance::Private::configLoadRequest() {
|
||||||
if (_configLoader || true) {
|
if (_configLoader) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_configLoader = std::make_unique<internal::ConfigLoader>(_instance, rpcDone([this](const MTPConfig &result) {
|
_configLoader = std::make_unique<internal::ConfigLoader>(_instance, rpcDone([this](const MTPConfig &result) {
|
||||||
|
|
Loading…
Reference in New Issue