commit 6120660ee0f3417a740981dd1b39eeb21405afe0
parent 993e5abcd9a2d0f279a8c6166e392955befe4300
Author: Iván Ávalos <avalos@disroot.org>
Date: Mon, 4 Mar 2024 15:22:57 -0600
[wallet] Fix label of invoiced amount in peer pull credit tx
bug 0008505
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/wallet/src/main/java/net/taler/wallet/peer/TransactionPeerPullCredit.kt b/wallet/src/main/java/net/taler/wallet/peer/TransactionPeerPullCredit.kt
@@ -48,7 +48,7 @@ fun ColumnScope.TransactionPeerPullCreditComposable(t: TransactionPeerPullCredit
)
TransactionAmountComposable(
- label = stringResource(id = R.string.amount_chosen),
+ label = stringResource(id = R.string.receive_peer_amount_invoiced),
amount = t.amountRaw,
amountType = AmountType.Neutral,
)
@@ -63,7 +63,7 @@ fun ColumnScope.TransactionPeerPullCreditComposable(t: TransactionPeerPullCredit
}
TransactionAmountComposable(
- label = stringResource(id = R.string.receive_amount),
+ label = stringResource(id = R.string.send_peer_payment_amount_received),
amount = t.amountEffective,
amountType = AmountType.Positive,
)
diff --git a/wallet/src/main/res/values/strings.xml b/wallet/src/main/res/values/strings.xml
@@ -150,6 +150,7 @@ GNU Taler is immune against many types of fraud, such as phishing of credit card
<string name="receive_peer_create_button">Create invoice</string>
<string name="receive_peer_invoice_instruction">Let the payer scan this QR code to pay:</string>
<string name="receive_peer_invoice_uri">Alternatively, copy and send this URI:</string>
+ <string name="receive_peer_amount_invoiced">Amount invoiced</string>
<string name="send_amount">Amount to send</string>
<string name="send_intro">Choose where to send money to:</string>