]> git.ktnx.net Git - mobile-ledger.git/commitdiff
debug++
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Mon, 8 Feb 2021 06:06:17 +0000 (06:06 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 18 Feb 2021 07:36:59 +0000 (07:36 +0000)
app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplateDetailsViewModel.java

index 5d3d743189ed1ed0916915fab9a6fdec1b16454e..e1143c463cfb58e5735db1479429a5c4c373e1c6 100644 (file)
@@ -173,6 +173,7 @@ public class TemplateDetailsViewModel extends ViewModel {
                 ArrayList<TemplateDetailsItem> l = new ArrayList<>();
 
                 TemplateDetailsItem header = TemplateDetailsItem.fromRoomObject(src.header);
+                Logger.debug("tmpl-db", "Got header template item with id of " + header.getId());
                 l.add(header);
                 Collections.sort(src.accounts,
                         (o1, o2) -> Long.compare(o1.getPosition(), o2.getPosition()));
@@ -181,7 +182,7 @@ public class TemplateDetailsViewModel extends ViewModel {
                 }
 
                 for (TemplateDetailsItem i : l) {
-                    Logger.debug("patterns-db", "Loaded pattern item " + i);
+                    Logger.debug("tmpl-db", "Loaded pattern item " + i);
                 }
                 applyList(l, true);
                 itemsLoaded = true;