More SQLDelight migrations

This commit is contained in:
arkon
2022-07-02 15:19:52 -04:00
parent 5d77ee37d2
commit 21771e62aa
13 changed files with 63 additions and 57 deletions

View File

@@ -31,9 +31,6 @@ data class Manga(
val initialized: Boolean,
) {
val sorting: Long
get() = chapterFlags and CHAPTER_SORTING_MASK
fun toSManga(): SManga {
return SManga.create().also {
it.url = url
@@ -48,6 +45,9 @@ data class Manga(
}
}
val sorting: Long
get() = chapterFlags and CHAPTER_SORTING_MASK
val displayMode: Long
get() = chapterFlags and CHAPTER_DISPLAY_MASK