Fix findProgress function not suspend

This commit is contained in:
Koitharu
2022-07-12 12:49:49 +03:00
parent 8e43afe408
commit fb608ed30a

View File

@@ -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()