Переглянути джерело

Set default automatic library updates to off

(cherry picked from commit abd23b68266a296c9698ba89f0cb665bbe9a799d)
arkon 2 роки тому
батько
коміт
bf85e147e7

+ 1 - 1
app/src/main/java/eu/kanade/domain/library/service/LibraryPreferences.kt

@@ -22,7 +22,7 @@ class LibraryPreferences(
 
     fun landscapeColumns() = preferenceStore.getInt("pref_library_columns_landscape_key", 0)
 
-    fun libraryUpdateInterval() = preferenceStore.getInt("pref_library_update_interval_key", 24)
+    fun libraryUpdateInterval() = preferenceStore.getInt("pref_library_update_interval_key", 0)
     fun libraryUpdateLastTimestamp() = preferenceStore.getLong("library_update_last_timestamp", 0L)
 
     fun libraryUpdateDeviceRestriction() = preferenceStore.getStringSet("library_update_restriction", setOf(DEVICE_ONLY_ON_WIFI))