mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-02 02:07:54 +00:00
Added ability to go to top of chats list by clicking on selected filter.
This commit is contained in:
@@ -1328,6 +1328,7 @@ void Widget::toggleFiltersMenu(bool enabled) {
|
||||
_chatFilters.get(),
|
||||
&session(),
|
||||
[this](FilterId id) {
|
||||
_scroll->scrollToY(0);
|
||||
if (controller()->activeChatsFilterCurrent() != id) {
|
||||
controller()->setActiveChatsFilter(id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user