tachiyomi/app/src/main/java/eu/kanade/data/DatabaseUtils.kt
AntsyLich 809da49301
Reader: Save reading progress with SQLDelight (#7185)
* Use SQLDelight in reader to update history

* Move chapter progress to sqldelight

* Review Changes

Co-Authored-By: inorichi <len@kanade.eu>

* Review Changes 2

Co-authored-by: FourTOne5 <59261191+FourTOne5@users.noreply.github.com>
Co-authored-by: inorichi <len@kanade.eu>
2022-05-28 09:09:27 -04:00

4 lines
68 B
Kotlin

package eu.kanade.data
fun Boolean.toLong() = if (this) 1L else 0L