mirror of
https://git.mihon.tech/mihonapp/mihon
synced 2024-11-28 10:38:48 +03:00
Sanitize manga title in page download subfolder name (#5514)
This commit is contained in:
parent
c254aa6fcc
commit
fb35d7af59
1 changed files with 1 additions and 1 deletions
|
@ -596,7 +596,7 @@ class ReaderPresenter(
|
|||
// Pictures directory.
|
||||
val baseDir = getPicturesDir(context).absolutePath
|
||||
val destDir = if (preferences.folderPerManga()) {
|
||||
File(baseDir + File.separator + manga.title)
|
||||
File(baseDir + File.separator + DiskUtil.buildValidFilename(manga.title))
|
||||
} else {
|
||||
File(baseDir)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue