mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-11-05 03:26:43 +00:00
simplify automatic master wallet label
This commit is contained in:
parent
88bd6ada98
commit
74e32bab3d
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ public class Wallet extends Persistable implements Comparable<Wallet> {
|
||||||
|
|
||||||
public String getAutomaticName() {
|
public String getAutomaticName() {
|
||||||
int account = getAccountIndex();
|
int account = getAccountIndex();
|
||||||
return (account < 0 || account > 9) ? getName() : (!isWhirlpoolMasterWallet() || account > 1 ? "Account #" + account : "Deposit");
|
return (account < 1 || account > 9) ? "Deposit" : "Account #" + account;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getMasterName() {
|
public String getMasterName() {
|
||||||
|
|
Loading…
Reference in a new issue