mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Display date of birth in user profiles.
This commit is contained in:
@@ -1003,6 +1003,14 @@ object_ptr<Ui::RpWidget> DetailsFiller::setupInfo() {
|
||||
return false;
|
||||
});
|
||||
} else {
|
||||
addInfoOneLine(
|
||||
BirthdayLabelText(BirthdayValue(user)),
|
||||
BirthdayValueText(
|
||||
BirthdayValue(user)
|
||||
) | Ui::Text::ToWithEntities(),
|
||||
tr::lng_mediaview_copy(tr::now),
|
||||
st::infoProfileLabeledUsernamePadding);
|
||||
|
||||
tracker.track(result->add(CreateWorkingHours(result, user)));
|
||||
|
||||
auto locationText = user->session().changes().peerFlagsValue(
|
||||
|
Reference in New Issue
Block a user