]> git.ktnx.net Git - mobile-ledger.git/commitdiff
Account.toString() returns the account name
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 13 Feb 2021 08:05:12 +0000 (10:05 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 18 Feb 2021 07:19:43 +0000 (07:19 +0000)
app/src/main/java/net/ktnx/mobileledger/db/Account.java

index 7d88a0301edad09c5d2f6f18e78ff757673c382d..d0eb1ae08829c23838a2b58b3f88949b960f4dee 100644 (file)
@@ -93,4 +93,9 @@ public class Account {
     public void setGeneration(int generation) {
         this.generation = generation;
     }
+    @NonNull
+    @Override
+    public String toString() {
+        return getName();
+    }
 }