mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-31 01:25:50 +00:00
Removed chat filters strip from folders and forums in separated windows.
This commit is contained in:
@@ -1333,6 +1333,9 @@ void Widget::toggleFiltersMenu(bool enabled) {
|
||||
if (_layout == Layout::Child) {
|
||||
enabled = false;
|
||||
}
|
||||
if (const auto id = controller()->windowId(); id.forum() || id.folder()) {
|
||||
enabled = false;
|
||||
}
|
||||
if (!enabled == !_chatFilters) {
|
||||
return;
|
||||
} else if (enabled) {
|
||||
|
||||
Reference in New Issue
Block a user