]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/model/LedgerAccount.java
fix duplication af account amounts on refresh
[mobile-ledger.git] / app / src / main / java / net / ktnx / mobileledger / model / LedgerAccount.java
index 93c78de2a13e90b29336346bde0f8dcd610438bd..0751d10ac4aec966b6d289f4fccdcc78f43fa9b3 100644 (file)
@@ -160,4 +160,7 @@ public class LedgerAccount {
     public void toggleExpanded() {
         expanded = !expanded;
     }
+    public void removeAmounts() {
+        amounts.clear();
+    }
 }