simplify automatic master wallet label

This commit is contained in:
Craig Raw 2022-03-22 09:14:29 +02:00
parent 88bd6ada98
commit 74e32bab3d

View file

@ -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() {