2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Set name / phone texts on-demand.

This commit is contained in:
John Preston
2022-08-09 14:12:19 +03:00
parent ceb7d5f238
commit 8bc807dc40
98 changed files with 426 additions and 260 deletions

View File

@@ -726,7 +726,7 @@ void ShareBox::Inner::updateChatName(
? tr::lng_saved_messages(tr::now)
: peer->isRepliesChat()
? tr::lng_replies_messages(tr::now)
: peer->name;
: peer->name();
chat->name.setText(_st.item.nameStyle, text, Ui::NameTextOptions());
}
@@ -1306,7 +1306,7 @@ void FastShareMessage(
auto text = TextWithEntities();
if (result.size() > 1) {
text.append(
Ui::Text::Bold(error.second->name)
Ui::Text::Bold(error.second->name())
).append("\n\n");
}
text.append(error.first);
@@ -1386,7 +1386,7 @@ void FastShareMessage(
tr::lng_restricted_send_voice_messages(
tr::now,
lt_user,
peer->name));
peer->name()));
}
}
finish();