head.setDate(String.valueOf(b.newTransactionDate.getText()));
// transaction description is required
- if (!significantChange && TextUtils.isEmpty(head.getDescription()) !=
- TextUtils.isEmpty(b.newTransactionDescription.getText()))
+ if (TextUtils.isEmpty(head.getDescription()) !=
+ TextUtils.isEmpty(b.newTransactionDescription.getText()))
significantChange = true;
head.setDescription(String.valueOf(b.newTransactionDescription.getText()));
NewTransactionModel.TransactionAccount acc = item.toTransactionAccount();
// having account name is important
- if (!significantChange && TextUtils.isEmpty(acc.getAccountName()) !=
- TextUtils.isEmpty(b.accountRowAccName.getText()))
+ if (TextUtils.isEmpty(acc.getAccountName()) !=
+ TextUtils.isEmpty(b.accountRowAccName.getText()))
significantChange = true;
acc.setAccountName(String.valueOf(b.accountRowAccName.getText()));