SettingsLayout: add check for updates checkbox

This commit is contained in:
selsta
2020-04-26 03:16:27 +02:00
parent 4141832a4d
commit 4a7ccd8d82
2 changed files with 10 additions and 1 deletions

View File

@@ -58,6 +58,14 @@ Rectangle {
text: qsTr("Custom decorations") + translationManager.emptyString
}
MoneroComponents.CheckBox {
id: checkForUpdatesCheckBox
enabled: !disableCheckUpdatesFlag
checked: persistentSettings.checkForUpdates && !disableCheckUpdatesFlag
onClicked: persistentSettings.checkForUpdates = !persistentSettings.checkForUpdates
text: qsTr("Check for updates periodically") + translationManager.emptyString
}
MoneroComponents.CheckBox {
id: hideBalanceCheckBox
checked: persistentSettings.hideBalance