mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
Fixed display of chats filters strip on removing last chats filter.
This commit is contained in:
parent
77e7796b3f
commit
d16ccc9dc5
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ not_null<Ui::RpWidget*> AddChatFiltersTabsStrip(
|
|||
|
||||
const auto rebuild = [=] {
|
||||
const auto &list = session->data().chatsFilters().list();
|
||||
if ((list.size() <= 1) || state->ignoreRefresh) {
|
||||
if ((list.size() <= 1 && !slider->width()) || state->ignoreRefresh) {
|
||||
return;
|
||||
}
|
||||
auto sections = ranges::views::all(
|
||||
|
|
Loading…
Add table
Reference in a new issue