mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Slightly improved style of withdrawal widget in bot earn stats.
This commit is contained in:
parent
8f409a8fe2
commit
d4056ac10a
1 changed files with 2 additions and 0 deletions
|
@ -226,6 +226,7 @@ void InnerWidget::fill() {
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
AddHeader(container, tr::lng_bot_earn_balance_title);
|
AddHeader(container, tr::lng_bot_earn_balance_title);
|
||||||
|
Ui::AddSkip(container);
|
||||||
auto dateValue = rpl::single(
|
auto dateValue = rpl::single(
|
||||||
data.nextWithdrawalAt
|
data.nextWithdrawalAt
|
||||||
) | rpl::then(
|
) | rpl::then(
|
||||||
|
@ -252,6 +253,7 @@ void InnerWidget::fill() {
|
||||||
) | rpl::map([=](StarsAmount v) {
|
) | rpl::map([=](StarsAmount v) {
|
||||||
return v ? ToUsd(v, multiplier, kMinorLength) : QString();
|
return v ? ToUsd(v, multiplier, kMinorLength) : QString();
|
||||||
}));
|
}));
|
||||||
|
container->resizeToWidth(container->width());
|
||||||
}
|
}
|
||||||
if (BotStarRef::Join::Allowed(peer())) {
|
if (BotStarRef::Join::Allowed(peer())) {
|
||||||
const auto button = BotStarRef::AddViewListButton(
|
const auto button = BotStarRef::AddViewListButton(
|
||||||
|
|
Loading…
Add table
Reference in a new issue