2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-03 16:05:57 +00:00

Added ability to swipe-to-back to dialogs widget.

This commit is contained in:
23rd
2025-02-17 20:18:57 +03:00
committed by John Preston
parent d93d8ab1cc
commit 05cd9eebb8
2 changed files with 58 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "base/timer.h"
#include "dialogs/dialogs_key.h"
#include "history/history_view_swipe_data.h"
#include "window/section_widget.h"
#include "ui/effects/animations.h"
#include "ui/userpic_view.h"
@@ -206,6 +207,7 @@ private:
void setupDownloadBar();
void setupShortcuts();
void setupStories();
void setupSwipeBack();
void storiesExplicitCollapse();
void collectStoriesUserpicsViews(Data::StorySourcesList list);
void storiesToggleExplicitExpand(bool expand);
@@ -383,6 +385,8 @@ private:
ChatSearchTab _searchQueryTab = {};
ChatTypeFilter _searchQueryFilter = {};
HistoryView::SwipeBackResult _swipeBackData;
SearchProcessState _searchProcess;
SearchProcessState _migratedProcess;
SearchProcessState _postsProcess;