Merge pull request #2873

4a7ccd8 SettingsLayout: add check for updates checkbox (selsta)
This commit is contained in:
luigi1111
2020-05-01 15:07:50 -05:00
2 changed files with 10 additions and 1 deletions

View File

@@ -1370,6 +1370,7 @@ ApplicationWindow {
property int walletMode: 2
property int lockOnUserInActivityInterval: 10 // minutes
property bool blackTheme: true
property bool checkForUpdates: true
property bool fiatPriceEnabled: false
property bool fiatPriceToggle: false
@@ -2004,7 +2005,7 @@ ApplicationWindow {
id: updatesTimer
interval: 3600 * 1000
repeat: true
running: !disableCheckUpdatesFlag
running: !disableCheckUpdatesFlag && persistentSettings.checkForUpdates
triggeredOnStart: true
onTriggered: checkUpdates()
}