fix(reader): Save combined page does nothing

This commit is contained in:
Ahmad Ansori Palembani 2024-06-25 11:34:05 +07:00
parent 1a681b9a72
commit c993f00ed7
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
2 changed files with 2 additions and 39 deletions

View file

@ -794,7 +794,7 @@ class ReaderViewModel(
"${manga.title} - ${chapter.preferredChapterName(context, manga, preferences)}".take(225),
) + (if (downloadPreferences.downloadWithId().get()) " (${chapter.id})" else "") + " - ${page1.number}-${page2.number}.jpg"
val destFile = directory.findFile(filename)!!
val destFile = directory.createFile(filename)!!
stream.use { input ->
destFile.openOutputStream().use { output ->
input.copyTo(output)