Add last update time to Updates Tab (closes #5466)

Co-authored-by: datreesezcup <datreesezcup@users.noreply.github.com>
This commit is contained in:
arkon
2022-08-29 14:57:25 -04:00
parent 8a3a7418d0
commit 43c195e14a
6 changed files with 41 additions and 2 deletions
@@ -219,6 +219,7 @@ class PreferencesHelper(val context: Context) {
fun removeExcludeCategories() = flowPrefs.getStringSet("remove_exclude_categories", emptySet())
fun libraryUpdateInterval() = flowPrefs.getInt("pref_library_update_interval_key", 24)
fun libraryUpdateLastTimestamp() = flowPrefs.getLong("library_update_last_timestamp", 0L)
fun libraryUpdateDeviceRestriction() = flowPrefs.getStringSet("library_update_restriction", setOf(DEVICE_ONLY_ON_WIFI))
fun libraryUpdateMangaRestriction() = flowPrefs.getStringSet("library_update_manga_restriction", setOf(MANGA_HAS_UNREAD, MANGA_NON_COMPLETED, MANGA_NON_READ))