aboutsummaryrefslogtreecommitdiff
path: root/wallet/src/main/res/navigation
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-05-14 14:13:18 -0300
committerTorsten Grote <t@grobox.de>2020-05-15 14:26:42 -0300
commit69093aa9055da501fd14103ac772d730850cb7b4 (patch)
tree4886bd05b7790df295902ed44fcca93146fd06fc /wallet/src/main/res/navigation
parent171a1ae228b801d5c0d54c6c7e7ad8aa458d6bce (diff)
downloadtaler-android-69093aa9055da501fd14103ac772d730850cb7b4.tar.gz
taler-android-69093aa9055da501fd14103ac772d730850cb7b4.tar.bz2
taler-android-69093aa9055da501fd14103ac772d730850cb7b4.zip
[wallet] Remove success pages for withdrawal and payment
The user is now brought the the transaction list where both are shown directly as pending transactions.
Diffstat (limited to 'wallet/src/main/res/navigation')
-rw-r--r--wallet/src/main/res/navigation/nav_graph.xml25
1 files changed, 7 insertions, 18 deletions
diff --git a/wallet/src/main/res/navigation/nav_graph.xml b/wallet/src/main/res/navigation/nav_graph.xml
index 5523d8b..a06abad 100644
--- a/wallet/src/main/res/navigation/nav_graph.xml
+++ b/wallet/src/main/res/navigation/nav_graph.xml
@@ -42,19 +42,14 @@
android:label="Review Payment"
tools:layout="@layout/fragment_prompt_payment">
<action
- android:id="@+id/action_promptPayment_to_paymentSuccessful"
- app:destination="@id/paymentSuccessful"
+ android:id="@+id/action_promptPayment_to_nav_main"
+ app:destination="@id/nav_main"
app:popUpTo="@id/nav_main" />
<action
android:id="@+id/action_promptPayment_to_alreadyPaid"
app:destination="@id/alreadyPaid"
app:popUpTo="@id/nav_main" />
</fragment>
- <fragment
- android:id="@+id/paymentSuccessful"
- android:name="net.taler.wallet.payment.PaymentSuccessfulFragment"
- android:label="Payment Successful"
- tools:layout="@layout/fragment_payment_successful" />
<fragment
android:id="@+id/nav_settings"
@@ -85,28 +80,22 @@
android:label="@string/nav_prompt_withdraw"
tools:layout="@layout/fragment_prompt_withdraw">
<action
+ android:id="@+id/action_promptWithdraw_to_selectExchangeFragment"
+ app:destination="@id/selectExchangeFragment" />
+ <action
android:id="@+id/action_promptWithdraw_to_reviewExchangeTOS"
app:destination="@id/reviewExchangeTOS" />
<action
- android:id="@+id/action_promptWithdraw_to_withdrawSuccessful"
- app:destination="@id/withdrawSuccessful"
+ android:id="@+id/action_promptWithdraw_to_nav_main"
+ app:destination="@id/nav_main"
app:popUpTo="@id/nav_main" />
<action
android:id="@+id/action_promptWithdraw_to_errorFragment"
app:destination="@id/errorFragment"
app:popUpTo="@id/nav_main" />
- <action
- android:id="@+id/action_promptWithdraw_to_selectExchangeFragment"
- app:destination="@id/selectExchangeFragment" />
</fragment>
<fragment
- android:id="@+id/withdrawSuccessful"
- android:name="net.taler.wallet.withdraw.WithdrawSuccessfulFragment"
- android:label="@string/withdraw_accepted"
- tools:layout="@layout/fragment_withdraw_successful" />
-
- <fragment
android:id="@+id/reviewExchangeTOS"
android:name="net.taler.wallet.withdraw.ReviewExchangeTosFragment"
android:label="@string/nav_exchange_tos"