broken in a recent release
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);
(TransactionDescriptionAutocompleteAdapter) a);
}
- b.transactionComment.setText(head.getComment());
- //styleComment(b.transactionComment, head.getComment());
+ final String comment = head.getComment();
+ b.transactionComment.setText(comment);
+ styleComment(b.transactionComment, comment); // would hide or make it visible
setEditable(true);