Make syncChaptersWithSource use sqldelight (#7263)
* Make `syncChaptersWithSource` use sqldelight Will break chapter list live update on current ui Co-Authored-By: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com> * Review Changes Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
This commit is contained in:
@@ -24,4 +24,12 @@ class MangaRepositoryImpl(
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
override suspend fun updateLastUpdate(mangaId: Long, lastUpdate: Long) {
|
||||
try {
|
||||
handler.await { mangasQueries.updateLastUpdate(lastUpdate, mangaId) }
|
||||
} catch (e: Exception) {
|
||||
logcat(LogPriority.ERROR, e)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user