]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/model/LedgerAccount.java
fix populating live account list when updating from JSON
[mobile-ledger.git] / app / src / main / java / net / ktnx / mobileledger / model / LedgerAccount.java
index 93c78de2a13e90b29336346bde0f8dcd610438bd..f632bba94311d97485e6f98584776c9176095bd6 100644 (file)
@@ -160,4 +160,7 @@ public class LedgerAccount {
     public void toggleExpanded() {
         expanded = !expanded;
     }
+    public void removeAmounts() {
+        if (amounts != null) amounts.clear();
+    }
 }