notify user of slow compression methods

This commit is contained in:
AbdallahMehiz
2024-01-22 21:18:32 +01:00
parent 9bfb34982e
commit 463e6f85f6
5 changed files with 32 additions and 6 deletions

View File

@ -344,7 +344,7 @@ actual class LocalSource(
}
is Format.SevenZip -> {
SevenZFile(tempFileManager.createTempFile(format.file)).use { archive ->
val entry = archive.getImages().firstOrNull()
val entry = archive.getImages {} .firstOrNull()
entry?.let { coverManager.update(manga, it.inputStream()) }
}