]> git.ktnx.net Git - mobile-ledger.git/commitdiff
fix debug when starring/un-starring accounts
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 10 Jan 2019 21:37:48 +0000 (21:37 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 10 Jan 2019 21:37:48 +0000 (21:37 +0000)
app/src/main/java/net/ktnx/mobileledger/async/CommitAccountsTask.java

index fea120f30d755fc2da72548256058d749fc12892..35a78dbeec119369683d4fa4561e0f34478c505d 100644 (file)
@@ -39,8 +39,8 @@ public class CommitAccountsTask
             db.beginTransaction();
             try {
                 for (LedgerAccount acc : params[0].accountList) {
-                    Log.d("db", String.format("Setting %s to %s", acc.getName(),
-                            acc.isHidden() ? "hidden" : "starred"));
+                    Log.d("CAT", String.format("Setting %s to %s", acc.getName(),
+                            acc.isHiddenToBe() ? "hidden" : "starred"));
                     db.execSQL("UPDATE accounts SET hidden=? WHERE profile=? AND name=?",
                             new Object[]{acc.isHiddenToBe() ? 1 : 0, profile, acc.getName()});