mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Add title to set birthday box.
This commit is contained in:
@@ -787,6 +787,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
"lng_settings_username_add" = "Add username";
|
||||
"lng_settings_username_about" = "Username lets people contact you on Telegram without needing your phone number.";
|
||||
"lng_settings_birthday_label" = "Date of Birth";
|
||||
"lng_settings_birthday_title" = "Set your Birthday";
|
||||
"lng_settings_birthday_add" = "Add";
|
||||
"lng_settings_birthday_about" = "Choose who can see your birthday in {link}.";
|
||||
"lng_settings_birthday_about_link" = "Settings";
|
||||
|
||||
@@ -27,6 +27,9 @@ void EditBirthdayBox(
|
||||
Data::Birthday current,
|
||||
Fn<void(Data::Birthday)> save,
|
||||
EditBirthdayType type) {
|
||||
if (type != EditBirthdayType::Suggest) {
|
||||
box->setTitle(tr::lng_settings_birthday_title());
|
||||
}
|
||||
box->setWidth(st::boxWideWidth);
|
||||
const auto content = box->addRow(object_ptr<Ui::FixedHeightWidget>(
|
||||
box,
|
||||
|
||||
Reference in New Issue
Block a user