mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-27 03:27:51 +02:00
use tempFileManager
This commit is contained in:
@ -343,7 +343,7 @@ actual class LocalSource(
|
||||
}
|
||||
}
|
||||
is Format.SevenZip -> {
|
||||
SevenZFile(format.file.toTempFile(context)).use { archive ->
|
||||
SevenZFile(tempFileManager.createTempFile(format.file)).use { archive ->
|
||||
val entry = archive.getImages().firstOrNull()
|
||||
|
||||
entry?.let { coverManager.update(manga, it.inputStream()) }
|
||||
|
Reference in New Issue
Block a user