Enabled auto check for exts by default
This commit is contained in:
parent
e509ad1913
commit
575c1f0f70
2 changed files with 2 additions and 1 deletions
|
@ -28,6 +28,7 @@ object Migrations {
|
||||||
if (BuildConfig.INCLUDE_UPDATER && preferences.automaticUpdates()) {
|
if (BuildConfig.INCLUDE_UPDATER && preferences.automaticUpdates()) {
|
||||||
UpdaterJob.setupTask()
|
UpdaterJob.setupTask()
|
||||||
}
|
}
|
||||||
|
ExtensionUpdateJob.setupTask()
|
||||||
return BuildConfig.DEBUG
|
return BuildConfig.DEBUG
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -203,7 +203,7 @@ class PreferencesHelper(val context: Context) {
|
||||||
|
|
||||||
fun automaticUpdates() = prefs.getBoolean(Keys.automaticUpdates, true)
|
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())
|
fun collapsedCategories() = rxPrefs.getStringSet("collapsed_categories", mutableSetOf())
|
||||||
|
|
||||||
|
|
Reference in a new issue