From: Damyan Ivanov Date: Tue, 26 Nov 2019 21:58:50 +0000 (+0200) Subject: NT: pass save error to the data entry fragment upon re-appearance X-Git-Tag: v0.11.0~14 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=ef4785fab2aeb1d90d62405402dc9914c25ac1bc;p=mobile-ledger.git NT: pass save error to the data entry fragment upon re-appearance --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java index 6b9ed635..98d42680 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java @@ -136,7 +136,7 @@ public class NewTransactionActivity extends ProfileThemedActivity implements Tas Bundle b = new Bundle(); if (error != null) { b.putString("error", error); - navController.navigate(R.id.action_newTransactionSavingFragment_Failure); + navController.navigate(R.id.action_newTransactionSavingFragment_Failure, b); } else navController.navigate(R.id.action_newTransactionSavingFragment_Success, b);