diff options
author | Iván Ávalos <avalos@disroot.org> | 2024-03-05 09:29:43 -0600 |
---|---|---|
committer | Torsten Grote <t@grobox.de> | 2024-03-06 14:18:56 -0300 |
commit | eac4bca09fc8cdba124fa29773ce4387ef99907b (patch) | |
tree | 550a913c5674fc8a3a21e80001f472c9a663e317 /wallet/src/main/java/net | |
parent | da3d59bcabc0195f09f1259ded4058b6e9b5c385 (diff) | |
download | taler-android-eac4bca09fc8cdba124fa29773ce4387ef99907b.tar.gz taler-android-eac4bca09fc8cdba124fa29773ce4387ef99907b.tar.bz2 taler-android-eac4bca09fc8cdba124fa29773ce4387ef99907b.zip |
[wallet] Generalize some string resources
Diffstat (limited to 'wallet/src/main/java/net')
3 files changed, 4 insertions, 4 deletions
diff --git a/wallet/src/main/java/net/taler/wallet/deposit/TransactionDepositComposable.kt b/wallet/src/main/java/net/taler/wallet/deposit/TransactionDepositComposable.kt index 026ab05..807d631 100644 --- a/wallet/src/main/java/net/taler/wallet/deposit/TransactionDepositComposable.kt +++ b/wallet/src/main/java/net/taler/wallet/deposit/TransactionDepositComposable.kt @@ -85,7 +85,7 @@ fun TransactionDepositComposable( } TransactionAmountComposable( - label = stringResource(id = R.string.send_peer_payment_amount_sent), + label = stringResource(id = R.string.amount_sent), amount = t.amountEffective, amountType = AmountType.Negative, ) diff --git a/wallet/src/main/java/net/taler/wallet/peer/TransactionPeerPullCredit.kt b/wallet/src/main/java/net/taler/wallet/peer/TransactionPeerPullCredit.kt index 375e6f3..898ff69 100644 --- a/wallet/src/main/java/net/taler/wallet/peer/TransactionPeerPullCredit.kt +++ b/wallet/src/main/java/net/taler/wallet/peer/TransactionPeerPullCredit.kt @@ -63,7 +63,7 @@ fun ColumnScope.TransactionPeerPullCreditComposable(t: TransactionPeerPullCredit } TransactionAmountComposable( - label = stringResource(id = R.string.send_peer_payment_amount_received), + label = stringResource(id = R.string.amount_received), amount = t.amountEffective, amountType = AmountType.Positive, ) diff --git a/wallet/src/main/java/net/taler/wallet/peer/TransactionPeerPushCredit.kt b/wallet/src/main/java/net/taler/wallet/peer/TransactionPeerPushCredit.kt index 2efa8bb..75d299b 100644 --- a/wallet/src/main/java/net/taler/wallet/peer/TransactionPeerPushCredit.kt +++ b/wallet/src/main/java/net/taler/wallet/peer/TransactionPeerPushCredit.kt @@ -40,7 +40,7 @@ import net.taler.wallet.transactions.TransactionState @Composable fun TransactionPeerPushCreditComposable(t: TransactionPeerPushCredit) { TransactionAmountComposable( - label = stringResource(id = R.string.send_peer_payment_amount_sent), + label = stringResource(id = R.string.amount_sent), amount = t.amountRaw, amountType = AmountType.Neutral, ) @@ -55,7 +55,7 @@ fun TransactionPeerPushCreditComposable(t: TransactionPeerPushCredit) { } TransactionAmountComposable( - label = stringResource(id = R.string.send_peer_payment_amount_received), + label = stringResource(id = R.string.amount_received), amount = t.amountEffective, amountType = AmountType.Positive, ) |