]> git.ktnx.net Git - mobile-ledger.git/commit
fix converting LedgerTransactionAccount to TransactionAccount (room)
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 25 Apr 2021 16:29:35 +0000 (19:29 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 25 Apr 2021 17:07:58 +0000 (17:07 +0000)
commit7c579bb2ed5235a2dc1af600013606ee689527dd
treeae30c9d9507ceb6fb1a641912434c0492e25cf26
parenteb9419045731882c2854bb4e106e8a4b5e5e1d81
fix converting LedgerTransactionAccount to TransactionAccount (room)

the currency can't be null

having null here led to problems when saving the transaction
speculatively and account amounts are updated, because in the database
account_values.currency is declared not null
app/src/main/java/net/ktnx/mobileledger/model/LedgerTransactionAccount.java