mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-12-25 01:26:45 +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;
|
||||
}
|
||||
|
||||
public String getFullDisplayName() {
|
||||
if(isMasterWallet()) {
|
||||
return name;
|
||||
}
|
||||
|
||||
return getMasterWallet().getName() + " - " + name;
|
||||
}
|
||||
|
||||
public String getMasterName() {
|
||||
if(isMasterWallet()) {
|
||||
return name;
|
||||
|
|
Loading…
Reference in a new issue