]> git.ktnx.net Git - mobile-ledger.git/commitdiff
include "last account" flag in debug output
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 3 Mar 2021 17:34:43 +0000 (19:34 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Wed, 3 Mar 2021 17:34:43 +0000 (19:34 +0200)
app/src/main/java/net/ktnx/mobileledger/ui/new_transaction/NewTransactionModel.java

index 637518f2eef27b446dd7977d44a7ea8040c27174..b8380895917a589843d002f424784c833ce5aa26 100644 (file)
@@ -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) {