Add: Releases and images cache retention options

This commit is contained in:
machiav3lli
2022-08-18 23:04:46 +02:00
parent 5cb84ba32b
commit 8ae6590a6a
3 changed files with 20 additions and 0 deletions

View File

@@ -29,6 +29,16 @@ class PrefsUpdatesFragment : PrefsNavFragmentX() {
Preferences.AutoSync.Always -> getString(R.string.always)
}
}
addEditInt(
Preferences.Key.ImagesCacheRetention,
getString(R.string.images_cache_retention),
1..365
)
addEditInt(
Preferences.Key.ReleasesCacheRetention,
getString(R.string.releases_cache_retention),
0..365
)
addEditInt(
Preferences.Key.AutoSyncInterval,
getString(R.string.auto_sync_interval),