mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-11 11:47:09 +02:00
Removed chat filters strip from folders and forums in separated windows.
This commit is contained in:
parent
2b43f2682a
commit
4b2c5b3321
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue