]> git.ktnx.net Git - mobile-ledger.git/commit
posting-level flag for amount validity; drop custom amount text filter
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 14 May 2020 10:50:12 +0000 (13:50 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 14 May 2020 17:39:53 +0000 (17:39 +0000)
commita1f5cf187a6bc2731aa1ed057d3d11fccc5de2c4
treed8e55951de3456a417d6946849da7eb2e33f218f
parent6ca003394e24fb1b47cdaa2ca31679ec6da88af0
posting-level flag for amount validity; drop custom amount text filter

the custom text filter in amount inputs seems to break with some
Samsung keyboards.

with a flag that is honoured by the code that checks for transaction
submittability it is better, and allows for a nice warning icon on
invalid input
app/src/main/java/net/ktnx/mobileledger/model/LedgerTransactionAccount.java
app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java
app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemsAdapter.java
app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionModel.java
app/src/main/res/drawable-anydpi-v21/ic_error_outline_black_24dp.xml [new file with mode: 0644]
app/src/main/res/layout/new_transaction_row.xml