From f013899bd27a7072f384e9c49e2179c2d61e99f8 Mon Sep 17 00:00:00 2001 From: Romain <46404814+yourcontact@users.noreply.github.com> Date: Thu, 9 Apr 2020 10:28:07 +0200 Subject: Refactor updates settings (#506) * Reorder updates toggle buttons * Updated 'Disable updates' message to 'Enable automatic updates' * Update 'noUpdates' to 'automaticUpdates' * Update 'noUpdates' to 'automaticUpdates' * Add condition for 'Include beta version' to show * Enable automatic updates by default * Update file so when automaticUpdates is true automatic updates are enabled * Fix conditions with enableUpdate * Apply code style * Fix wrong condition with enableUpdate * Delete unsued variable 'server' * Apply style code * Commit changes to submodule 'recipes' * Update default message to 'Enable updates' from 'Disable updates' * Update text to 'Enable updates' from 'Enable automatic update' * Add migration for updates settings * Update default messages to 'Enable updates' from 'Disable updates' * Remove empty line * Check for updates was disabled when updates were enabled * Avoid superfluous break line when updates are disabled * Add fragments to up-to-date message * Add fragments to up-to-date message * Remove file from previous commit * Remove extra line * Add 'Show draggable area on window' to en-US.json file * Apply prepare-code script changes Co-authored-by: Amine --- src/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config.js') diff --git a/src/config.js b/src/config.js index cfb9a3658..bde710d44 100644 --- a/src/config.js +++ b/src/config.js @@ -120,7 +120,7 @@ export const DEFAULT_APP_SETTINGS = { hibernate: false, hibernationStrategy: 300, inactivityLock: 0, - noUpdates: false, + automaticUpdates: true, showServiceNavigationBar: false, universalDarkMode: true, adaptableDarkMode: true, -- cgit v1.2.3-54-g00ecf