diff options
Diffstat (limited to 'Telegram/SourceFiles/payments/ui/payments_panel.cpp')
-rw-r--r-- | Telegram/SourceFiles/payments/ui/payments_panel.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Telegram/SourceFiles/payments/ui/payments_panel.cpp b/Telegram/SourceFiles/payments/ui/payments_panel.cpp index d39a7ab697..f5c7015cc4 100644 --- a/Telegram/SourceFiles/payments/ui/payments_panel.cpp +++ b/Telegram/SourceFiles/payments/ui/payments_panel.cpp @@ -51,7 +51,9 @@ void Panel::showForm( const RequestedInformation ¤t, const PaymentMethodDetails &method, const ShippingOptions &options) { - _widget->setTitle(tr::lng_payments_checkout_title()); + _widget->setTitle(invoice.receipt + ? tr::lng_payments_receipt_title() + : tr::lng_payments_checkout_title()); auto form = base::make_unique_q<FormSummary>( _widget.get(), invoice, |