From b19d307424598019385bb9b65405e45ffe65cde1 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Thu, 10 Jan 2019 21:37:48 +0000 Subject: [PATCH] fix debug when starring/un-starring accounts --- .../java/net/ktnx/mobileledger/async/CommitAccountsTask.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()}); -- 2.39.5