mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Fix small column layout with filters side bar.
This commit is contained in:
@@ -210,7 +210,7 @@ void SessionController::toggleFiltersMenu(bool enabled) {
|
||||
} else {
|
||||
_filters = nullptr;
|
||||
}
|
||||
_window->sideBarChanged();
|
||||
_filtersMenuChanged.fire({});
|
||||
}
|
||||
|
||||
void SessionController::refreshFiltersMenu() {
|
||||
@@ -222,6 +222,10 @@ void SessionController::refreshFiltersMenu() {
|
||||
}
|
||||
}
|
||||
|
||||
rpl::producer<> SessionController::filtersMenuChanged() const {
|
||||
return _filtersMenuChanged.events();
|
||||
}
|
||||
|
||||
bool SessionController::uniqueChatsInSearchResults() const {
|
||||
return session().supportMode()
|
||||
&& !session().settings().supportAllSearchResults()
|
||||
|
Reference in New Issue
Block a user