implement mihonapp/mihon#326 (#1104)
* implement mihonapp/mihon#326 Archives are now being read from channels Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com> Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com> * disable parallelisms for loading into memory * switched to mutex * detekt changes * more detekt baseline changes --------- Co-authored-by: FooIbar <118464521+FooIbar@users.noreply.github.com> Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
This commit is contained in:
@@ -656,6 +656,12 @@ object EXHMigrations {
|
||||
remove(Preference.appStateKey("trusted_signatures"))
|
||||
}
|
||||
}
|
||||
if (oldVersion under 66) {
|
||||
val cacheImagesToDisk = prefs.getBoolean("cache_archive_manga_on_disk", false)
|
||||
if (cacheImagesToDisk) {
|
||||
readerPreferences.archiveReaderMode().set(ReaderPreferences.ArchiveReaderMode.CACHE_TO_DISK)
|
||||
}
|
||||
}
|
||||
|
||||
if (oldVersion under 66) {
|
||||
if (prefs.getBoolean(Preference.privateKey("encrypt_database"), false)) {
|
||||
|
||||
@@ -187,7 +187,6 @@ class InterceptActivity : BaseActivity() {
|
||||
lifecycleScope.launchIO {
|
||||
loadGalleryEnd(gallery, sources[index])
|
||||
}
|
||||
|
||||
}
|
||||
.show()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user