summaryrefslogtreecommitdiffstats
path: root/Telegram/SourceFiles/payments/ui/payments_panel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Telegram/SourceFiles/payments/ui/payments_panel.cpp')
-rw-r--r--Telegram/SourceFiles/payments/ui/payments_panel.cpp4
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 &current,
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,