2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Don't create top/recent peers unnecessary.

This commit is contained in:
John Preston
2024-04-15 17:54:00 +04:00
parent 74a7e7d1b4
commit 7387dfdd9c
2 changed files with 25 additions and 18 deletions

View File

@@ -246,6 +246,7 @@ private:
void updateScrollUpPosition();
void updateLockUnlockPosition();
void updateSuggestions(anim::type animated);
void processSearchFocusChange();
MTP::Sender _api;
@@ -315,6 +316,7 @@ private:
int _storiesExplicitExpandScrollTop = 0;
int _aboveScrollAdded = 0;
bool _storiesExplicitExpand = false;
bool _postponeProcessSearchFocusChange = false;
base::Timer _searchTimer;