We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb0f00d commit 7fc3485Copy full SHA for 7fc3485
app/src/main/java/org/gnucash/android/ui/transaction/TransactionFormFragment.java
@@ -869,6 +869,18 @@ private List<Split> extractSplitsFromView() {
869
870
BigDecimal amountBigD = mAmountEditText.getValue();
871
872
+ if (amountBigD != null) {
873
+ // Amount is null
874
+
875
+ // RAF
876
877
+ } else {
878
+ // Amount is not null
879
880
+ // init to 0
881
+ amountBigD=new BigDecimal(0);
882
+ }
883
884
String baseCurrencyCode = mTransactionsDbAdapter.getAccountCurrencyCode(mAccountUID);
885
886
// Store signed amount
0 commit comments