chore: refactor & reformat settings

This commit is contained in:
AlexeyZavar
2025-06-08 11:00:04 +03:00
parent 20976ac9f9
commit 69420f5750
71 changed files with 297 additions and 389 deletions
@@ -408,7 +408,7 @@ bool FieldAutocomplete::clearFilteredBotCommands() {
FieldAutocomplete::StickerRows FieldAutocomplete::getStickerSuggestions() {
const auto data = &_session->data().stickers();
const auto list = data->getListByEmoji({ _emoji }, _stickersSeed);
const auto& settings = AyuSettings::getInstance();
const auto &settings = AyuSettings::getInstance();
auto result = ranges::views::all(
list
) | ranges::views::filter([&](not_null<DocumentData*> sticker) {