2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Added new section for premium settings.

This commit is contained in:
23rd
2022-05-18 21:53:25 +03:00
parent e7cc8ff44b
commit 51ed3af14c
27 changed files with 321 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "settings/settings_advanced.h"
#include "settings/settings_folders.h"
#include "settings/settings_calls.h"
#include "settings/settings_premium.h"
#include "boxes/language_box.h"
#include "boxes/username_box.h"
#include "ui/boxes/confirm_box.h"
@@ -330,6 +331,15 @@ void SetupSections(
SetupLanguageButton(container);
AddSkip(container);
AddDivider(container);
AddSkip(container);
addSection(
tr::lng_premium_summary_title(),
PremiumId(),
{ &st::settingsIconCalls, kIconGreen });
AddSkip(container);
}