LedgerAccount: fix NPE in getAmountCount() when there are no amounts
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 4 Apr 2019 14:52:53 +0000 (17:52 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 4 Apr 2019 14:52:53 +0000 (17:52 +0300)
commit2a0d9c329ac8163eee557dd72475d8f85ec372da
treeb8b8fe887f0d9b7fd71e4d34cbd3210462a42fec
parentf24a8465a728e39188f262192dcea1cadf9ba64a
LedgerAccount: fix NPE in getAmountCount() when there are no amounts

triggered by empty accounts without amounts
app/src/main/java/net/ktnx/mobileledger/model/LedgerAccount.java