summaryrefslogtreecommitdiff
path: root/app/src/main/res/navigation
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-03-06 12:56:55 -0300
committerTorsten Grote <t@grobox.de>2020-03-06 12:56:55 -0300
commitd9a578ad4a0b64f87c81d825d784ce14ce5778b2 (patch)
treeb17540ef2cc33d9772564026be156089776bf35b /app/src/main/res/navigation
parent826c0167e37d25c2437d67d1d893586e9b9dadd5 (diff)
downloadwallet-android-d9a578ad4a0b64f87c81d825d784ce14ce5778b2.tar.gz
wallet-android-d9a578ad4a0b64f87c81d825d784ce14ce5778b2.tar.bz2
wallet-android-d9a578ad4a0b64f87c81d825d784ce14ce5778b2.zip
Show error screen when withdrawal fails
Diffstat (limited to 'app/src/main/res/navigation')
-rw-r--r--app/src/main/res/navigation/nav_graph.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/src/main/res/navigation/nav_graph.xml b/app/src/main/res/navigation/nav_graph.xml
index e540c12..549ca01 100644
--- a/app/src/main/res/navigation/nav_graph.xml
+++ b/app/src/main/res/navigation/nav_graph.xml
@@ -81,6 +81,10 @@
android:id="@+id/action_promptWithdraw_to_reviewExchangeTOS"
app:destination="@id/reviewExchangeTOS"
app:popUpTo="@id/showBalance" />
+ <action
+ android:id="@+id/action_promptWithdraw_to_errorFragment"
+ app:destination="@id/errorFragment"
+ app:popUpTo="@id/showBalance" />
</fragment>
<fragment
@@ -104,6 +108,11 @@
android:name="net.taler.wallet.pending.PendingOperationsFragment"
android:label="Pending Operations"
tools:layout="@layout/fragment_pending_operations" />
+ <fragment
+ android:id="@+id/errorFragment"
+ android:name="net.taler.wallet.withdraw.ErrorFragment"
+ android:label="@string/nav_error"
+ tools:layout="@layout/fragment_error" />
<action
android:id="@+id/action_global_promptPayment"