From: Damyan Ivanov Date: Sat, 13 Feb 2021 08:05:12 +0000 (+0200) Subject: Account.toString() returns the account name X-Git-Tag: v0.17.0~146 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=bdf127ab4c79dbfcf50697cb919c46d73063227e;p=mobile-ledger.git Account.toString() returns the account name --- diff --git a/app/src/main/java/net/ktnx/mobileledger/db/Account.java b/app/src/main/java/net/ktnx/mobileledger/db/Account.java index 7d88a030..d0eb1ae0 100644 --- a/app/src/main/java/net/ktnx/mobileledger/db/Account.java +++ b/app/src/main/java/net/ktnx/mobileledger/db/Account.java @@ -93,4 +93,9 @@ public class Account { public void setGeneration(int generation) { this.generation = generation; } + @NonNull + @Override + public String toString() { + return getName(); + } }