pull/395/head^2
gedoor 4 years ago
parent 2fb74fe9b8
commit 6b7de1cf2a
  1. 2
      app/src/main/java/io/legado/app/help/AppConfig.kt
  2. 2
      app/src/main/res/xml/pref_config_other.xml

@ -59,7 +59,7 @@ object AppConfig {
} }
val backgroundVerification: Boolean val backgroundVerification: Boolean
get() = App.INSTANCE.getPrefBoolean(R.string.pk_background_verification) get() = App.INSTANCE.getPrefBoolean(R.string.pk_background_verification, true)
val autoRefreshBook: Boolean val autoRefreshBook: Boolean
get() = App.INSTANCE.getPrefBoolean(R.string.pk_auto_refresh) get() = App.INSTANCE.getPrefBoolean(R.string.pk_auto_refresh)

@ -52,7 +52,7 @@
app:layout="@layout/view_preference_category"> app:layout="@layout/view_preference_category">
<io.legado.app.ui.widget.prefs.SwitchPreference <io.legado.app.ui.widget.prefs.SwitchPreference
android:defaultValue="false" android:defaultValue="true"
android:key="@string/pk_background_verification" android:key="@string/pk_background_verification"
android:summary="@string/ps_background_verification" android:summary="@string/ps_background_verification"
android:title="@string/pt_background_verification" android:title="@string/pt_background_verification"

Loading…
Cancel
Save