mining: add visual icon/indicator that mining is enabled, visible on all the screens

This commit is contained in:
mmbyday
2018-12-15 20:10:12 -08:00
parent 7c0a557e62
commit 84a60424ef
9 changed files with 38 additions and 7 deletions

View File

@@ -241,6 +241,7 @@ Rectangle {
updateStatusText()
startSoloMinerButton.enabled = !walletManager.isMining()
stopSoloMinerButton.enabled = !startSoloMinerButton.enabled
appWindow.isMining = walletManager.isMining()
}
MoneroComponents.StandardDialog {

View File

@@ -660,6 +660,8 @@ Rectangle {
// Light wallet is always ready
pageRoot.enabled = true;
root.warningContent = "";
// check if daemon was already mining and add mining logo if true
middlePanel.miningView.update();
}
}
}

View File

@@ -46,6 +46,7 @@ ColumnLayout {
Clipboard { id: clipboard }
property bool viewOnly: false
property int settingsHeight: 900
property alias settingsStateViewState: settingsStateView.state
Navbar{}