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

Show first (may be non-"All Chats") folder by default.

This commit is contained in:
John Preston
2022-05-17 17:56:15 +04:00
parent fe91887ea2
commit 3b5ec78f4f
6 changed files with 53 additions and 8 deletions

View File

@@ -513,6 +513,7 @@ private:
void refreshFiltersMenu();
void checkOpenedFilter();
void suggestArchiveAndMute();
void activateFirstChatsFilter();
int minimalThreeColumnWidth() const;
int countDialogsWidthFromRatio(int bodyWidth) const;
@@ -562,6 +563,7 @@ private:
base::Variable<bool> _dialogsListDisplayForced = { false };
std::deque<Dialogs::RowDescriptor> _chatEntryHistory;
int _chatEntryHistoryPosition = -1;
bool _filtersActivated = false;
bool _selectingPeer = false;
base::Timer _invitePeekTimer;