mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-11-02 18: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() {
|
||||
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