mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-12 12:08:56 +01:00
Minor refactor
This commit is contained in:
@@ -83,7 +83,7 @@ class DownloadProvider(private val context: Context) {
|
||||
* @param manga the manga to query.
|
||||
*/
|
||||
fun getMangaDirName(manga: Manga): String {
|
||||
return DiskUtil.buildValidFatFilename(manga.title)
|
||||
return DiskUtil.buildValidFilename(manga.title)
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -92,7 +92,7 @@ class DownloadProvider(private val context: Context) {
|
||||
* @param chapter the chapter to query.
|
||||
*/
|
||||
fun getChapterDirName(chapter: Chapter): String {
|
||||
return DiskUtil.buildValidFatFilename(chapter.name)
|
||||
return DiskUtil.buildValidFilename(chapter.name)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user