diff --git a/Telegram/SourceFiles/settings/settings_main.cpp b/Telegram/SourceFiles/settings/settings_main.cpp index 8ceb09ffd..af2955253 100644 --- a/Telegram/SourceFiles/settings/settings_main.cpp +++ b/Telegram/SourceFiles/settings/settings_main.cpp @@ -348,7 +348,7 @@ void SetupSections( const auto preload = [=] { controller->session().data().chatsFilters().requestSuggested(); }; - const auto account = &controller->session().account(); + // const auto account = &controller->session().account(); const auto slided = container->add( object_ptr>( container, @@ -358,10 +358,13 @@ void SetupSections( st::settingsButton, { &st::menuIconShowInFolder })) )->setDuration(0); + /* if (controller->session().data().chatsFilters().has() || controller->session().settings().dialogsFiltersEnabled()) { + */ slided->show(anim::type::instant); preload(); + /* } else { const auto enabled = [=] { const auto result = account->appConfig().get( @@ -384,6 +387,7 @@ void SetupSections( enabled ) | rpl::before_next(preloadIfEnabled)); } + */ slided->entity()->setClickedCallback([=] { showOther(Folders::Id()); });