mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-04 00:15:42 +00:00
Separate phrase for paid messages placeholder.
This commit is contained in:
@@ -6107,11 +6107,9 @@ void HistoryWidget::updateFieldPlaceholder() {
|
||||
&& !_keyboard->placeholder().isEmpty()) {
|
||||
return rpl::single(_keyboard->placeholder());
|
||||
} else if (const auto stars = peer->starsPerMessageChecked()) {
|
||||
return tr::lng_message_paid_ph(
|
||||
lt_amount,
|
||||
tr::lng_prize_credits_amount(
|
||||
lt_count,
|
||||
rpl::single(stars * 1.)));
|
||||
return tr::lng_message_stars_ph(
|
||||
lt_count,
|
||||
rpl::single(stars * 1.));
|
||||
} else if (const auto channel = peer->asChannel()) {
|
||||
const auto topic = resolveReplyToTopic();
|
||||
const auto topicRootId = topic
|
||||
|
Reference in New Issue
Block a user