From 37100cd96ae805c2f89fd6bc0782d846538311b4 Mon Sep 17 00:00:00 2001 From: Balazs Perlaki-Horvath Date: Tue, 21 Jan 2025 21:21:44 +0100 Subject: [PATCH] Fix localization, remove debugPrint statement --- Views/Payment/CustomAmount.swift | 2 +- Views/Payment/PaymentSummary.swift | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Views/Payment/CustomAmount.swift b/Views/Payment/CustomAmount.swift index c2a30329..fe2029d4 100644 --- a/Views/Payment/CustomAmount.swift +++ b/Views/Payment/CustomAmount.swift @@ -69,7 +69,7 @@ struct CustomAmount: View { ) } } label: { - Text("payment.confirm.button.title") + Text("payment.confirm.button.title".localized) } .buttonStyle(BorderedProminentButtonStyle()) .padding() diff --git a/Views/Payment/PaymentSummary.swift b/Views/Payment/PaymentSummary.swift index d9c886ad..2ff62f51 100644 --- a/Views/Payment/PaymentSummary.swift +++ b/Views/Payment/PaymentSummary.swift @@ -63,7 +63,6 @@ struct PaymentSummary: View { .font(.callout) } }.onReceive(payment.completeSubject) { - debugPrint("PaymentSummary::payment.completeSubject") onComplete() } }