Defaulted RoundButton text transform to no-transform.

This commit is contained in:
23rd
2026-04-06 16:23:24 +03:00
parent 7c26a251cf
commit 494833236f
64 changed files with 103 additions and 192 deletions
@@ -83,15 +83,13 @@ FormSummary::FormSummary(
tr::lng_payments_pay_amount(
lt_amount,
rpl::single(formatAmount(computeTotalAmount()))),
st::paymentsPanelSubmit,
RoundButtonTextNoTransform))
st::paymentsPanelSubmit))
, _cancel(
this,
(_invoice.receipt.paid
? tr::lng_about_done()
: tr::lng_cancel()),
st::paymentsPanelButton,
RoundButtonTextNoTransform)
st::paymentsPanelButton)
, _tipLightBg(TransparentColor(st::paymentsTipActive, kLightOpacity))
, _tipLightRipple(
TransparentColor(st::paymentsTipActive, kLightRippleOpacity))
@@ -397,8 +395,7 @@ void FormSummary::setupSuggestedTips(not_null<VerticalLayout*> layout) {
.widget = CreateChild<RoundButton>(
outer,
rpl::single(formatAmount(amount, true)),
st,
RoundButtonTextNoTransform),
st),
});
auto &button = state->buttons.back();
button.widget->show();