mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: Also auto append non-split page
This commit is contained in:
parent
28bad0b3a9
commit
fa87e826f8
1 changed files with 1 additions and 1 deletions
|
@ -758,7 +758,7 @@ class ReaderViewModel(
|
|||
// Build destination file.
|
||||
val filename = DiskUtil.buildValidFilename(
|
||||
"${manga.title} - ${chapter.preferredChapterName(context, manga, preferences)}".take(225),
|
||||
) + " - ${page.number}.${type.extension}"
|
||||
) + (if (downloadPreferences.downloadWithId().get()) " (${chapter.id})" else "") + " - ${page.number}.${type.extension}"
|
||||
|
||||
val destFile = directory.createFile(filename)!!
|
||||
stream().use { input ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue