summaryrefslogtreecommitdiff
path: root/wallet/src/main/res
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2023-08-11 23:08:46 +0200
committerTorsten Grote <t@grobox.de>2023-09-26 18:30:51 +0200
commitcb6d8362746481b383d559280c8cfadbed082231 (patch)
treef5f3d5c0349a646e1148f06a270fe18aac62e4a6 /wallet/src/main/res
parentd7196a07eaaf5ca52906a8c987144c7b9814dfef (diff)
downloadtaler-android-cb6d8362746481b383d559280c8cfadbed082231.tar.gz
taler-android-cb6d8362746481b383d559280c8cfadbed082231.tar.bz2
taler-android-cb6d8362746481b383d559280c8cfadbed082231.zip
[wallet] Initial version of template support
Diffstat (limited to 'wallet/src/main/res')
-rw-r--r--wallet/src/main/res/navigation/nav_graph.xml13
-rw-r--r--wallet/src/main/res/values/strings.xml2
2 files changed, 15 insertions, 0 deletions
diff --git a/wallet/src/main/res/navigation/nav_graph.xml b/wallet/src/main/res/navigation/nav_graph.xml
index bc35f34..8f94f8d 100644
--- a/wallet/src/main/res/navigation/nav_graph.xml
+++ b/wallet/src/main/res/navigation/nav_graph.xml
@@ -215,6 +215,15 @@
</fragment>
<fragment
+ android:id="@+id/promptPayTemplate"
+ android:name="net.taler.wallet.payment.PayTemplateFragment"
+ android:label="@string/payment_pay_template_title">
+ <argument
+ android:name="uri"
+ app:argType="string" />
+ </fragment>
+
+ <fragment
android:id="@+id/nav_transactions"
android:name="net.taler.wallet.transactions.TransactionsFragment"
android:label="@string/transactions_title"
@@ -372,6 +381,10 @@
app:destination="@id/promptPushPayment" />
<action
+ android:id="@+id/action_global_prompt_pay_template"
+ app:destination="@id/promptPayTemplate" />
+
+ <action
android:id="@+id/action_global_pending_operations"
app:destination="@id/nav_pending_operations" />
diff --git a/wallet/src/main/res/values/strings.xml b/wallet/src/main/res/values/strings.xml
index 17e4e24..824c922 100644
--- a/wallet/src/main/res/values/strings.xml
+++ b/wallet/src/main/res/values/strings.xml
@@ -131,6 +131,8 @@ GNU Taler is immune against many types of fraud, such as phishing of credit card
<string name="payment_initiated">Payment initiated</string>
<string name="payment_already_paid_title">Already paid</string>
<string name="payment_already_paid">You\'ve already paid for this purchase.</string>
+ <string name="payment_pay_template_title">Customize your order</string>
+ <string name="payment_create_order">Create order</string>
<string name="receive_amount">Amount to receive</string>
<string name="receive_amount_invalid">Amount invalid</string>