Enabled auto check for exts by default

This commit is contained in:
Jay 2020-04-30 19:09:11 -04:00
parent e509ad1913
commit 575c1f0f70
2 changed files with 2 additions and 1 deletions

View file

@ -28,6 +28,7 @@ object Migrations {
if (BuildConfig.INCLUDE_UPDATER && preferences.automaticUpdates()) {
UpdaterJob.setupTask()
}
ExtensionUpdateJob.setupTask()
return BuildConfig.DEBUG
}

View file

@ -203,7 +203,7 @@ class PreferencesHelper(val context: Context) {
fun automaticUpdates() = prefs.getBoolean(Keys.automaticUpdates, true)
fun automaticExtUpdates() = rxPrefs.getBoolean(Keys.automaticExtUpdates, false)
fun automaticExtUpdates() = rxPrefs.getBoolean(Keys.automaticExtUpdates, true)
fun collapsedCategories() = rxPrefs.getStringSet("collapsed_categories", mutableSetOf())