]> git.ktnx.net Git - mobile-ledger.git/commit
NT: correctly disable swiping of top and bottom entries, let all the rest be swiped
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 14 Mar 2020 19:25:30 +0000 (21:25 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 14 Mar 2020 19:25:30 +0000 (21:25 +0200)
commit040d5ba3aaa78a295a6c4a29500a234d3188ad6b
tree8877cae597144f68d1993e6e94255fb4b1258b4b
parentc573b352226ba1dadb779bdc27df888b9fa23fde
NT: correctly disable swiping of top and bottom entries, let all the rest be swiped

top is the entry with the date/description; bottom is the padding

all the rest can be swiped and the call to checkTransactionSubmittable()
will make sure that there are at least two account rows present
app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemsAdapter.java
app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionModel.java