mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-12-25 01:26:45 +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() {
|
||||
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() {
|
||||
|
|
Loading…
Reference in a new issue