2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Added saving of scroll state in dialogs widget between chats filters.

This commit is contained in:
23rd
2022-11-01 10:46:31 +03:00
committed by John Preston
parent c6aba83a6b
commit 03c08ad95f
2 changed files with 19 additions and 4 deletions

View File

@@ -443,6 +443,8 @@ private:
not_null<PeerData*>,
std::unique_ptr<Ui::VideoUserpic>> _videoUserpics;
base::flat_map<FilterId, int> _chatsFilterScrollStates;
Fn<void()> _loadMoreCallback;
Fn<void()> _loadMoreFilteredCallback;
rpl::event_stream<> _listBottomReached;