]> git.ktnx.net Git - mobile-ledger.git/commit
more heuristics when filling accounts from a previous transaction
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 25 Jan 2020 14:07:42 +0000 (16:07 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 25 Jan 2020 14:07:42 +0000 (16:07 +0200)
commit44444c406faf8cab3542b05df60d2c837cdc4ca2
tree7994c254c18e41f11ee0c8d8ae273cf7a1e8caf9
parent3cd9965f1b70b82564aeaf2beb6ce6be4c18ff50
more heuristics when filling accounts from a previous transaction

previously, when there was a single account with negative amount, that
amount was cleared from the row so that it is filled automatically when
the amounts of other accounts change

now this is also done for the single account with a positive amount if
there is one, and there are multiple accounts with negative amounts
app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemsAdapter.java
app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionModel.java