mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
chore(deps): Update unifile
This commit is contained in:
parent
63d27bcf60
commit
1cced95526
3 changed files with 5 additions and 4 deletions
|
@ -30,3 +30,4 @@
|
|||
- Replace ProgressBar with ProgressIndicator from Material3 to improve UI consistency
|
||||
- Merge lastFetch and lastRead query into library_view VIEW
|
||||
- Update Japenese translation
|
||||
- Update dependency com.github.tachiyomiorg:unifile to a9de196cc7
|
||||
|
|
|
@ -66,7 +66,7 @@ class DownloadProvider(private val context: Context) {
|
|||
* @param source the source to query.
|
||||
*/
|
||||
fun findSourceDir(source: Source): UniFile? {
|
||||
return downloadsDir?.findFile(getSourceDirName(source), true)
|
||||
return downloadsDir?.findFile(getSourceDirName(source))
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -77,7 +77,7 @@ class DownloadProvider(private val context: Context) {
|
|||
*/
|
||||
fun findMangaDir(manga: Manga, source: Source): UniFile? {
|
||||
val sourceDir = findSourceDir(source)
|
||||
return sourceDir?.findFile(getMangaDirName(manga), true)
|
||||
return sourceDir?.findFile(getMangaDirName(manga))
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -90,7 +90,7 @@ class DownloadProvider(private val context: Context) {
|
|||
fun findChapterDir(chapter: Chapter, manga: Manga, source: Source): UniFile? {
|
||||
val mangaDir = findMangaDir(manga, source)
|
||||
return getValidChapterDirNames(chapter).asSequence()
|
||||
.mapNotNull { mangaDir?.findFile(it, true) ?: mangaDir?.findFile("$it.cbz", true) }
|
||||
.mapNotNull { mangaDir?.findFile(it) ?: mangaDir?.findFile("$it.cbz") }
|
||||
.firstOrNull()
|
||||
}
|
||||
|
||||
|
|
|
@ -94,7 +94,7 @@ shizuku-api = { module = "dev.rikka.shizuku:api", version.ref = "shizuku" }
|
|||
shizuku-provider = { module = "dev.rikka.shizuku:provider", version.ref = "shizuku" }
|
||||
taptargetview = { module = "com.getkeepsafe.taptargetview:taptargetview", version = "1.13.3" }
|
||||
oss-licenses-plugin = { module = "com.google.android.gms:oss-licenses-plugin", version = "0.10.6" }
|
||||
unifile = { module = "com.github.tachiyomiorg:unifile", version = "7c257e1c64" }
|
||||
unifile = { module = "com.github.tachiyomiorg:unifile", version = "a9de196cc7" }
|
||||
viewstatepageradapter = { module = "com.nightlynexus.viewstatepageradapter:viewstatepageradapter", version = "1.1.0" }
|
||||
viewtooltip = { module = "com.github.florent37:viewtooltip", version = "1.2.2" }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue