mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-12-25 09:36:44 +00:00
improve multi account wallet name display
This commit is contained in:
parent
360550a718
commit
bdb9900d8d
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue