]> git.ktnx.net Git - mobile-ledger.git/blobdiff - app/src/main/java/net/ktnx/mobileledger/json/ParsedLedgerAccount.java
adopt Room for displaying account lists
[mobile-ledger.git] / app / src / main / java / net / ktnx / mobileledger / json / ParsedLedgerAccount.java
index 04eff28f29e7cef40b9386bbc56bd5cd14e60012..e0b0d3438e4d547543e1ac7f44a40314b70d172e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright © 2020 Damyan Ivanov.
+ * Copyright © 2021 Damyan Ivanov.
  * This file is part of MoLe.
  * MoLe is free software: you can distribute it and/or modify it
  * under the term of the GNU General Public License as published by
@@ -58,7 +58,7 @@ public abstract class ParsedLedgerAccount {
             parent = task.ensureAccountExists(parentName, map, createdParents);
             parent.setHasSubAccounts(true);
         }
-        acc = new LedgerAccount(task.getProfile(), accName, parent);
+        acc = new LedgerAccount(accName, parent);
         map.put(accName, acc);
 
         String lastCurrency = null;