Commit Graph

13 Commits

Author SHA1 Message Date
John Preston a2b18e3400 Use MakeWrappedEmoji which forwards nullptr-s. 2026-06-09 14:27:37 +04:00
23rd 4d32a1658c Fixed 3D premium covers drawing over shown boxes. 2026-06-09 07:49:26 +03:00
23rd a715ab77ec Added golden star variant to premium settings top bar. 2026-06-04 12:45:20 +04:00
23rd 0a7d16e5be Added display of 3D diamond on currency settings cover when supported. 2026-06-04 12:45:20 +04:00
23rd 5b79e1be62 Added pass of visible region into credits history list controller. 2026-05-27 13:59:34 +03:00
23rd 3fb525d261 Lowered initial credits history page size in settings section. 2026-05-27 13:56:41 +03:00
23rd 795dafe36d Replaced positional swipe init args with typed data struct. 2026-05-19 09:56:00 +03:00
23rd 9cb41f4517 Replaced RoundButton text transform constructor arg with setter. 2026-04-06 16:58:16 +03:00
23rd 494833236f Defaulted RoundButton text transform to no-transform. 2026-04-06 16:58:16 +03:00
23rd 7c26a251cf Added text transform to RoundButton as mandatory argument. 2026-04-06 16:58:15 +03:00
John Preston 480dcd8a7a Move Settings::Main class to anonymous namespace
- Move Main class definition from header to .cpp file
- Export only Type MainId() from header
- Update all external references from Main::Id() to MainId()
- Remove Builder::MainSection export from namespace
- Add missing includes for settings_common_session.h where needed

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:21 +04:00
John Preston 31f3d6810d Upgrade settings_credits to full builder pattern
- Move stats/gift/earn buttons to builder.addButton() with proper IDs
- Use builder.add() for dynamic subscriptions/history lists
- Have setupContent() call build(content, buildMethod)
- Remove extern SectionBuildMethod from header
- Extract BuildCurrencyWithdrawalSection helper function
- Add forward declarations for builder functions

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:20 +04:00
John Preston 1fa68effdd Rewrite settings_credits to new builder pattern
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 11:55:20 +04:00