Merge pull request #2373

4c05bff main: node and log page are hidden in simple mode (selsta)
This commit is contained in:
luigi1111 2019-09-08 20:13:24 -05:00
commit a5b2d5e727
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -2251,7 +2251,9 @@ ApplicationWindow {
appWindow.walletMode = mode;
persistentSettings.walletMode = mode;
persistentSettings.useRemoteNode = mode === 0 ? true : false;
if (mode < 2 && (middlePanel.settingsView.settingsStateViewState === "Node" || middlePanel.settingsView.settingsStateViewState === "Log")) {
middlePanel.settingsView.settingsStateViewState = "Wallet"
}
console.log("walletMode changed: " + (mode === 0 ? "simple": mode === 1 ? "simple (bootstrap)" : "Advanced"));
}