Added recent search entries to settings.

This commit is contained in:
23rd
2026-04-11 17:11:30 +03:00
parent a1389ac778
commit 8ed9085474
8 changed files with 330 additions and 59 deletions
@@ -41,6 +41,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "data/components/sponsored_messages.h"
#include "data/components/top_peers.h"
#include "settings/settings_faq_suggestions.h"
#include "settings/settings_recent_searches.h"
#include "data/data_session.h"
#include "data/data_changes.h"
#include "data/data_user.h"
@@ -159,6 +160,7 @@ Session::Session(
}))
, _passkeys(std::make_unique<Data::Passkeys>(this))
, _faqSuggestions(std::make_unique<Settings::FaqSuggestions>(this))
, _recentSettingsSearches(std::make_unique<Settings::RecentSearches>(this))
, _cachedReactionIconFactory(std::make_unique<ReactionIconFactory>())
, _supportHelper(Support::Helper::Create(this))
, _fastButtonsBots(std::make_unique<Support::FastButtonsBots>(this))