This commit is contained in:
yuhuihuang
2020-07-19 15:41:11 +08:00
parent 85c01cde00
commit 55d78aeba7

View File

@@ -282,7 +282,12 @@ public class RootPage extends DecoratorTabPage {
} }
// ==== Accounts ==== // ==== Accounts ====
private boolean checkedAccont = false;
public void checkAccount() { public void checkAccount() {
if (checkedAccont) return;
checkedAccont = true;
if (Accounts.getAccounts().isEmpty()) if (Accounts.getAccounts().isEmpty())
Platform.runLater(this::addNewAccount); Platform.runLater(this::addNewAccount);
} }