summaryrefslogtreecommitdiff
path: root/wallet/src/main/res
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2022-10-27 10:15:52 -0300
committerTorsten Grote <t@grobox.de>2022-10-27 10:15:52 -0300
commit725562a48a23ed4d0153f05a5c36f4d17875c90c (patch)
treed9359e488f2f50424ec7eac9477ee198190431a4 /wallet/src/main/res
parent2398d0fb201b53b2e41bf9d549b293b6b93e2c45 (diff)
downloadtaler-android-725562a48a23ed4d0153f05a5c36f4d17875c90c.tar.gz
taler-android-725562a48a23ed4d0153f05a5c36f4d17875c90c.tar.bz2
taler-android-725562a48a23ed4d0153f05a5c36f4d17875c90c.zip
[wallet] Implement making deposits (not fully functional)
Diffstat (limited to 'wallet/src/main/res')
-rw-r--r--wallet/src/main/res/navigation/nav_graph.xml25
-rw-r--r--wallet/src/main/res/values/strings.xml13
2 files changed, 36 insertions, 2 deletions
diff --git a/wallet/src/main/res/navigation/nav_graph.xml b/wallet/src/main/res/navigation/nav_graph.xml
index 96ca49f..6feb846 100644
--- a/wallet/src/main/res/navigation/nav_graph.xml
+++ b/wallet/src/main/res/navigation/nav_graph.xml
@@ -48,7 +48,14 @@
<fragment
android:id="@+id/sendFunds"
android:name="net.taler.wallet.SendFundsFragment"
- android:label="@string/transactions_send_funds" />
+ android:label="@string/transactions_send_funds">
+ <action
+ android:id="@+id/action_sendFunds_to_nav_deposit"
+ app:destination="@id/nav_deposit" />
+ <action
+ android:id="@+id/action_sendFunds_to_nav_peer_push"
+ app:destination="@id/nav_peer_push" />
+ </fragment>
<fragment
android:id="@+id/promptTip"
@@ -125,6 +132,11 @@
</fragment>
<fragment
+ android:id="@+id/nav_deposit"
+ android:name="net.taler.wallet.payment.DepositFragment"
+ android:label="@string/send_deposit_title" />
+
+ <fragment
android:id="@+id/nav_settings_backup"
android:name="net.taler.wallet.settings.BackupSettingsFragment"
android:label="@string/nav_settings_backup" />
@@ -141,6 +153,17 @@
</fragment>
<fragment
+ android:id="@+id/nav_peer_push"
+ android:name="net.taler.wallet.peer.OutgoingPushFragment"
+ android:label="@string/send_peer_title">
+ <argument
+ android:name="amount"
+ android:defaultValue="@null"
+ app:argType="string"
+ app:nullable="true" />
+ </fragment>
+
+ <fragment
android:id="@+id/promptPullPayment"
android:name="net.taler.wallet.peer.IncomingPullPaymentFragment"
android:label="@string/pay_peer_title">
diff --git a/wallet/src/main/res/values/strings.xml b/wallet/src/main/res/values/strings.xml
index f72b345..2b81894 100644
--- a/wallet/src/main/res/values/strings.xml
+++ b/wallet/src/main/res/values/strings.xml
@@ -125,7 +125,18 @@ GNU Taler is immune against many types of fraud, such as phishing of credit card
<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="send_peer_amount">Amount to send</string>
+ <string name="send_amount">Amount to send</string>
+ <string name="send_intro">Choose where to send money to:</string>
+ <string name="send_deposit">To a bank account</string>
+ <string name="send_deposit_title">Deposit to a bank account</string>
+ <string name="send_deposit_iban">IBAN</string>
+ <string name="send_deposit_bic">BIC/SWIFT</string>
+ <string name="send_deposit_name">Account holder</string>
+ <string name="send_deposit_check_fees_button">Check fees</string>
+ <string name="send_deposit_amount_effective">Effective Amount</string>
+ <string name="send_deposit_create_button">Make deposit</string>
+ <string name="send_peer">To another wallet</string>
+ <string name="send_peer_title">Send money to another wallet</string>
<string name="send_peer_create_button">Send funds now</string>
<string name="send_peer_warning">Warning: Funds will leave the wallet immediately.</string>
<string name="send_peer_payment_instruction">Let the payee scan this QR code to receive:</string>