From: Damyan Ivanov Date: Sun, 16 Aug 2020 12:50:14 +0000 (+0300) Subject: new transaction: fix saving progress in/out navigation X-Git-Tag: v0.15.0~47 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=ef66ca1a01cb162792f24be5e9d851c6101f945c;p=mobile-ledger.git new transaction: fix saving progress in/out navigation somewhat broken after following the recommendations about thefragment container. the navigation was saved so after saving 'Back' returned to the 'saving progress' fragment instead of closing the activity --- diff --git a/app/src/main/res/navigation/new_transaction_navigation.xml b/app/src/main/res/navigation/new_transaction_navigation.xml index b68760c2..6f1fe29c 100644 --- a/app/src/main/res/navigation/new_transaction_navigation.xml +++ b/app/src/main/res/navigation/new_transaction_navigation.xml @@ -30,7 +30,11 @@ android:id="@+id/action_newTransactionFragment_to_newTransactionSavingFragment" app:destination="@id/newTransactionSavingFragment" app:enterAnim="@anim/slide_in_up" - app:exitAnim="@anim/slide_out_up" /> + app:exitAnim="@anim/slide_out_up" + app:launchSingleTop="true" + app:popUpTo="@id/new_transaction_navigation" + app:popUpToInclusive="true" + /> \ No newline at end of file