Move trigger for track progress update to client (#918)

Triggering the progress update on server side does not work because the client needs to get the mutation result, otherwise, the clients cache will get outdated
This commit is contained in:
schroda
2024-03-31 19:20:37 +02:00
committed by GitHub
parent 7d92dbc5c0
commit 9db612bf03
3 changed files with 28 additions and 9 deletions

View File

@@ -250,7 +250,7 @@ object Track {
}
}
private suspend fun trackChapter(mangaId: Int) {
suspend fun trackChapter(mangaId: Int) {
val chapter = queryMaxReadChapter(mangaId)
val chapterNumber = chapter?.get(ChapterTable.chapter_number)