Fix findProgress function not suspend

pull/203/head
Koitharu 4 years ago
parent 8e43afe408
commit fb608ed30a
No known key found for this signature in database
GPG Key ID: 8E861F8CE6E7CE27

@ -46,7 +46,7 @@ abstract class HistoryDao {
abstract fun observeCount(): Flow<Int>
@Query("SELECT percent FROM history WHERE manga_id = :id")
abstract fun findProgress(id: Long): Float?
abstract suspend fun findProgress(id: Long): Float?
@Query("DELETE FROM history")
abstract suspend fun clear()

Loading…
Cancel
Save