mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix(source/local): Local Source should only check directory for manga list
This commit is contained in:
parent
81aaca02a1
commit
7404712e9c
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ class LocalSource(private val context: Context) : CatalogueSource, UnmeteredSour
|
||||||
}
|
}
|
||||||
|
|
||||||
var mangaDirs = getBaseDirectory()?.listFiles().orEmpty()
|
var mangaDirs = getBaseDirectory()?.listFiles().orEmpty()
|
||||||
.filter { it.isDirectory || !it.name.orEmpty().startsWith('.') }
|
.filter { it.isDirectory && !it.name.orEmpty().startsWith('.') }
|
||||||
.distinctBy { it.name }
|
.distinctBy { it.name }
|
||||||
.filter {
|
.filter {
|
||||||
if (time == 0L && query.isBlank())
|
if (time == 0L && query.isBlank())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue