chore: code cleanup
This commit is contained in:
parent
386e02a564
commit
24147e746a
198 changed files with 1367 additions and 965 deletions
|
@ -28,7 +28,7 @@ class OfflineNovelParser : NovelParser() {
|
|||
directory.listFiles().forEach {
|
||||
if (it.isDirectory) {
|
||||
val chapter = Book(
|
||||
it.name?:"Unknown",
|
||||
it.name ?: "Unknown",
|
||||
it.uri.toString(),
|
||||
null,
|
||||
listOf(it.uri.toString())
|
||||
|
@ -63,7 +63,7 @@ class OfflineNovelParser : NovelParser() {
|
|||
if (directory?.exists() == true) {
|
||||
directory.listFiles().forEach {
|
||||
if (it.isDirectory) {
|
||||
names.add(it.name?: "Unknown")
|
||||
names.add(it.name ?: "Unknown")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue