2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Implement collectible username / phone info boxes.

This commit is contained in:
John Preston
2024-04-02 15:35:53 +04:00
parent 22f504ca21
commit 1061fb6c85
40 changed files with 630 additions and 75 deletions

View File

@@ -135,8 +135,8 @@ not_null<Ui::SettingsButton*> AddMyChannelsBox(
const auto count = c ? c->membersCount() : g->count;
_status.setText(
st::defaultTextStyle,
!p->userName().isEmpty()
? ('@' + p->userName())
!p->username().isEmpty()
? ('@' + p->username())
: count
? tr::lng_chat_status_subscribers(
tr::now,