Merge pull request #2855

b022735 main: add --disable-check-updates flag (selsta)
This commit is contained in:
luigi1111
2020-04-28 15:17:57 -05:00
2 changed files with 7 additions and 3 deletions

View File

@@ -1317,8 +1317,6 @@ ApplicationWindow {
openWallet("wizard");
}
checkUpdates();
if(persistentSettings.fiatPriceEnabled){
appWindow.fiatApiRefresh();
appWindow.fiatTimerStart();
@@ -2008,7 +2006,10 @@ ApplicationWindow {
Timer {
id: updatesTimer
interval: 3600*1000; running: true; repeat: true
interval: 3600 * 1000
repeat: true
running: !disableCheckUpdatesFlag
triggeredOnStart: true
onTriggered: checkUpdates()
}