private String decimalSeparator;
private boolean inUpdate = false;
private boolean syncingData = false;
- //TODO multiple amounts with different currencies per posting?
NewTransactionAccountRowItemHolder(@NonNull NewTransactionAccountRowBinding b,
NewTransactionItemsAdapter adapter) {
super(b.getRoot());
acc.isAmountSet() ? String.format("%4.2f", acc.getAmount()) : null);
displayAmountValidity(true);
- b.comment.setText(acc.getComment());
+ final String comment = acc.getComment();
+ b.comment.setText(comment);
+ styleComment(b.comment, comment);
setEditable(true);