2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Increase minimal main menu footer height.

This commit is contained in:
John Preston
2022-02-15 18:29:01 +03:00
parent d15af0c5f0
commit 1c060f40c1
2 changed files with 2 additions and 1 deletions

View File

@@ -1094,7 +1094,7 @@ void MainMenu::updateInnerControlsGeometry() {
const auto available = height() - st::mainMenuCoverHeight - contentHeight;
const auto footerHeight = std::max(
available,
st::mainMenuTelegramBottom + _telegram->height() + st::mainMenuSkip);
st::mainMenuFooterHeightMin);
if (_footer->height() != footerHeight) {
_footer->resize(_footer->width(), footerHeight);
}