mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 05:07:10 +02:00
Slightly improved style of section for boost statistics.
This commit is contained in:
parent
4a22e76bdb
commit
ec82d5674f
2 changed files with 8 additions and 5 deletions
|
@ -5836,6 +5836,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
"lng_boosts_list_tab_gifts#other" = "{count} Gifts";
|
||||
|
||||
"lng_boosts_prepaid_giveaway_title" = "Prepaid giveaways";
|
||||
"lng_boosts_prepaid_giveaway_title_subtext" = "Select a giveaway you already paid for to set it up.";
|
||||
"lng_boosts_prepaid_giveaway_single" = "Prepaid giveaway";
|
||||
"lng_boosts_prepaid_giveaway_quantity#one" = "{count} Telegram Premium";
|
||||
"lng_boosts_prepaid_giveaway_quantity#other" = "{count} Telegram Premium";
|
||||
|
|
|
@ -185,7 +185,7 @@ void FillShareLink(
|
|||
|
||||
const auto label = content->lifetime().make_state<Ui::InviteLinkLabel>(
|
||||
content,
|
||||
rpl::single(link),
|
||||
rpl::single(base::duplicate(link).replace(u"https://"_q, QString())),
|
||||
nullptr);
|
||||
content->add(
|
||||
label->take(),
|
||||
|
@ -391,7 +391,9 @@ void InnerWidget::fill() {
|
|||
}
|
||||
|
||||
Ui::AddSkip(inner);
|
||||
Ui::AddDivider(inner);
|
||||
Ui::AddDividerText(
|
||||
inner,
|
||||
tr::lng_boosts_prepaid_giveaway_title_subtext());
|
||||
Ui::AddSkip(inner);
|
||||
}
|
||||
|
||||
|
@ -456,9 +458,9 @@ void InnerWidget::fill() {
|
|||
inner,
|
||||
object_ptr<Ui::CustomWidthSlider>(
|
||||
inner,
|
||||
st::dialogsSearchTabs)),
|
||||
st::boxRowPadding);
|
||||
if (const auto shadow = Ui::CreateChild<Ui::PlainShadow>(inner)) {
|
||||
st::dialogsSearchTabs)));
|
||||
if (!hasOneTab) {
|
||||
const auto shadow = Ui::CreateChild<Ui::PlainShadow>(inner);
|
||||
shadow->show();
|
||||
slider->geometryValue(
|
||||
) | rpl::start_with_next([=](const QRect &r) {
|
||||
|
|
Loading…
Add table
Reference in a new issue