Use only first name in birthday notification.

This commit is contained in:
John Preston 2025-06-05 09:55:16 +04:00
parent 9316480884
commit 0adb3b062f

View file

@ -292,7 +292,7 @@ rpl::producer<Ui::SlideWrap<Ui::RpWidget>*> TopBarSuggestionValue(
? tr::lng_dialogs_suggestions_birthday_contact_title( ? tr::lng_dialogs_suggestions_birthday_contact_title(
tr::now, tr::now,
lt_text, lt_text,
{ first->name() }, { first->shortName() },
Ui::Text::RichLangValue) Ui::Text::RichLangValue)
: tr::lng_dialogs_suggestions_birthday_contacts_title( : tr::lng_dialogs_suggestions_birthday_contacts_title(
tr::now, tr::now,