From: Damyan Ivanov Date: Thu, 10 Jan 2019 21:37:48 +0000 (+0000) Subject: fix debug when starring/un-starring accounts X-Git-Tag: v0.3~73 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=b19d307424598019385bb9b65405e45ffe65cde1;p=mobile-ledger.git fix debug when starring/un-starring accounts --- diff --git a/app/src/main/java/net/ktnx/mobileledger/async/CommitAccountsTask.java b/app/src/main/java/net/ktnx/mobileledger/async/CommitAccountsTask.java index fea120f3..35a78dbe 100644 --- a/app/src/main/java/net/ktnx/mobileledger/async/CommitAccountsTask.java +++ b/app/src/main/java/net/ktnx/mobileledger/async/CommitAccountsTask.java @@ -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()});