Files
AyuGramDesktop/Telegram/SourceFiles/settings/sections/settings_passkeys.h
T
John Preston 8a017226c3 Upgrade settings_passkeys to full builder pattern
- Move create passkey button to builder.addButton() with proper ID
- Use builder.add() for dynamic passkeys list
- Move Passkeys class from header to .cpp (anonymous namespace)
- Remove extern SectionBuildMethod from header
- Have setupContent() call build() with custom build method
- Simplify header to only export Type PasskeysId() and PasskeysNoneBox()

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:20 +04:00

29 lines
555 B
C++

/*
This file is part of Telegram Desktop,
the official desktop application for the Telegram messaging service.
For license and copyright information please follow this link:
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "settings/settings_type.h"
namespace Ui {
class GenericBox;
} // namespace Ui
namespace Main {
class Session;
} // namespace Main
namespace Settings {
void PasskeysNoneBox(
not_null<Ui::GenericBox*> box,
not_null<::Main::Session*> session);
Type PasskeysId();
} // namespace Settings