Make comic book archive caching optional instead of rolling it back completely (#883)

* Make comic book archive caching optional and fix cbz archives not opening for some users

* corrected placement of // SY <--
This commit is contained in:
Shamicen
2023-05-13 04:52:17 +02:00
committed by GitHub
parent be6bbb8e9b
commit 6071acd3df
10 changed files with 278 additions and 36 deletions
@@ -545,6 +545,11 @@ object SettingsReaderScreen : SearchableSettings {
3 to stringResource(R.string.center_margin_double_and_wide_page),
),
),
Preference.PreferenceItem.SwitchPreference(
pref = readerPreferences.cacheArchiveMangaOnDisk(),
title = stringResource(R.string.cache_archived_manga_to_disk),
subtitle = stringResource(R.string.cache_archived_manga_to_disk_subtitle),
),
),
)
}