mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-12-25 16:21:50 +01:00
reformat
This commit is contained in:
parent
c200785479
commit
320d7e2536
@ -73,8 +73,10 @@ object Chapter {
|
|||||||
val dbChapterList = transaction { ChapterTable.selectAll() }
|
val dbChapterList = transaction { ChapterTable.selectAll() }
|
||||||
|
|
||||||
dbChapterList.forEach {
|
dbChapterList.forEach {
|
||||||
(it[ChapterTable.chapterIndex] >= chapterList.size
|
(
|
||||||
|| chapterList[it[ChapterTable.chapterIndex]].url != it[ChapterTable.url])
|
it[ChapterTable.chapterIndex] >= chapterList.size ||
|
||||||
|
chapterList[it[ChapterTable.chapterIndex]].url != it[ChapterTable.url]
|
||||||
|
)
|
||||||
|
|
||||||
ChapterTable.deleteWhere { ChapterTable.id eq it[ChapterTable.id] }
|
ChapterTable.deleteWhere { ChapterTable.id eq it[ChapterTable.id] }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user