improve multi account wallet name display

This commit is contained in:
Craig Raw 2021-10-29 13:21:53 +02:00
parent 360550a718
commit bdb9900d8d

View file

@ -75,6 +75,14 @@ public class Wallet extends Persistable implements Comparable<Wallet> {
return getMasterWallet().getName() + "-" + name; return getMasterWallet().getName() + "-" + name;
} }
public String getFullDisplayName() {
if(isMasterWallet()) {
return name;
}
return getMasterWallet().getName() + " - " + name;
}
public String getMasterName() { public String getMasterName() {
if(isMasterWallet()) { if(isMasterWallet()) {
return name; return name;