commit d2f60e6328d41501184cdd7c6ab6e3d91d30afd7 parent faccb37cfa39617cf7754f5bf68024e98fb0880c Author: Marc Stibane <marc@taler.net> Date: Sun, 4 Feb 2024 15:40:53 +0100 wording Diffstat:
3 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/TalerWallet1/Views/Sheets/P2P_Sheets/P2pPayURIView.swift b/TalerWallet1/Views/Sheets/P2P_Sheets/P2pPayURIView.swift @@ -62,7 +62,12 @@ struct P2pPayURIView: View { .buttonStyle(TalerButtonStyle(type: .prominent)) .padding(.horizontal) } else { - LoadingView(url: url, message: nil) +#if DEBUG + let message = url.host +#else + let message: String? = nil +#endif + LoadingView(url: nil, message: message) .task { do { symLog.log(".task") let ppDebitResponse = try await model.preparePeerPullDebitM(url.absoluteString) diff --git a/TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift b/TalerWallet1/Views/Sheets/P2P_Sheets/P2pReceiveURIView.swift @@ -71,7 +71,12 @@ struct P2pReceiveURIView: View { .padding(.horizontal) } } else { - LoadingView(url: url, message: nil) +#if DEBUG + let message = url.host +#else + let message: String? = nil +#endif + LoadingView(url: nil, message: message) } } .onAppear() { diff --git a/TalerWallet1/Views/Transactions/TransactionSummaryV.swift b/TalerWallet1/Views/Transactions/TransactionSummaryV.swift @@ -295,8 +295,8 @@ struct TransactionSummaryV: View { Text("Show details") } // .buttonStyle(TalerButtonStyle(type: .bordered)) - ThreeAmountsSheet(common: common, topAbbrev: String(localized: "Pay:"), - topTitle: String(localized: "Sum to be paid:"), + ThreeAmountsSheet(common: common, topAbbrev: String(localized: "Price:", comment: "mini"), + topTitle: String(localized: "Price (net):"), baseURL: nil, large: true, // TODO: baseURL summary: details.info.summary, merchant: details.info.merchant.name)