]> git.ktnx.net Git - mobile-ledger.git/commit
Fix representation of AmountPrecision for v1.23
authorFaye Duxovni <duxovni@duxovni.org>
Thu, 9 Jun 2022 06:11:10 +0000 (02:11 -0400)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 18 Jun 2022 15:07:25 +0000 (15:07 +0000)
commit56aa91f941cd17d7c37398bee00e447efe7c7308
treeab8d637ccabe4c6cdd33569786fdd01d762bb255
parent71d045d69f68cc66b63b29d371a5c98f9363066a
Fix representation of AmountPrecision for v1.23

In v1.23+, AmountPrecision is serialized and deserialized as though
it's a Maybe Word8; it's expected to be either an integer or null, not
a JSON object.
app/src/main/java/net/ktnx/mobileledger/json/v1_23/ParsedPosting.java
app/src/main/java/net/ktnx/mobileledger/json/v1_23/ParsedPrecision.java [deleted file]
app/src/main/java/net/ktnx/mobileledger/json/v1_23/ParsedStyle.java