From: Damyan Ivanov Date: Wed, 3 Mar 2021 17:34:43 +0000 (+0200) Subject: include "last account" flag in debug output X-Git-Tag: v0.17.0~44 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=69aee68a95c91ebe289dd26abf7d3a1bd0209e78;p=mobile-ledger.git include "last account" flag in debug output --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionModel.java b/app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionModel.java index 637518f2..b8380895 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionModel.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionModel.java @@ -1159,6 +1159,9 @@ public class NewTransactionModel extends ViewModel { if (!TextUtils.isEmpty(comment)) b.append(String.format(" /%s/", comment)); + if (isLast) + b.append(" last"); + return b.toString(); } public boolean equalContents(TransactionAccount other) {