Added missed label for current balance in section of bot credits earn.

This commit is contained in:
23rd 2025-04-02 10:26:03 +03:00 committed by John Preston
parent 85b0733169
commit d49da1fdd0
2 changed files with 6 additions and 3 deletions

View file

@ -6211,6 +6211,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
"lng_bot_earn_chart_revenue" = "Revenue";
"lng_bot_earn_overview_title" = "Proceeds overview";
"lng_bot_earn_available" = "Available balance";
"lng_bot_earn_reward" = "Total balance";
"lng_bot_earn_total" = "Total lifetime proceeds";
"lng_bot_earn_balance_title" = "Available balance";
"lng_bot_earn_balance_about" = "Stars from your total balance can be used for ads or withdrawn as rewards 21 days after they are earned.";

View file

@ -205,9 +205,11 @@ void InnerWidget::fill() {
tr::lng_bot_earn_available);
Ui::AddSkip(container);
Ui::AddSkip(container);
// addOverview(data.currentBalance, tr::lng_bot_earn_reward);
// Ui::AddSkip(container);
// Ui::AddSkip(container);
addOverview(
rpl::single(data.currentBalance),
tr::lng_bot_earn_reward);
Ui::AddSkip(container);
Ui::AddSkip(container);
addOverview(
rpl::single(
data.overallRevenue