Skip to content

Commit 8eba403

Browse files
committed
remove toggle button when double entry is enabled
1 parent ade07dd commit 8eba403

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app/src/org/gnucash/android/ui/transaction/TransactionFormFragment.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,9 @@ private void initializeViewsWithTransaction(){
351351
}
352352
}
353353
} else {
354-
setAmountEditViewVisible(View.GONE);
354+
if (mUseDoubleEntry) {
355+
setAmountEditViewVisible(View.GONE);
356+
}
355357
}
356358
mSplitsList = new ArrayList<Split>(mTransaction.getSplits()); //we need a copy so we can modify with impunity
357359
mAmountEditText.setEnabled(mSplitsList.size() <= 2);

0 commit comments

Comments
 (0)