Deleting categories hides manga until switch from and to library #686 (#769)

* Fixed bug 686
https://github.com/inorichi/tachiyomi/issues/686

* Fixed bug 686
https://github.com/inorichi/tachiyomi/issues/686

* undo previous changes to resubscribe
add table to mangaQueries to update on table category change

* cleaned up formatting
This commit is contained in:
Carlos 2017-04-27 14:16:05 -04:00 committed by inorichi
parent b7b83305b2
commit e838bb43d2

View File

@ -8,6 +8,7 @@ import eu.kanade.tachiyomi.data.database.models.Manga
import eu.kanade.tachiyomi.data.database.resolvers.LibraryMangaGetResolver
import eu.kanade.tachiyomi.data.database.resolvers.MangaFlagsPutResolver
import eu.kanade.tachiyomi.data.database.resolvers.MangaLastUpdatedPutResolver
import eu.kanade.tachiyomi.data.database.tables.CategoryTable
import eu.kanade.tachiyomi.data.database.tables.ChapterTable
import eu.kanade.tachiyomi.data.database.tables.MangaCategoryTable
import eu.kanade.tachiyomi.data.database.tables.MangaTable
@ -25,7 +26,7 @@ interface MangaQueries : DbProvider {
.listOfObjects(Manga::class.java)
.withQuery(RawQuery.builder()
.query(libraryQuery)
.observesTables(MangaTable.TABLE, ChapterTable.TABLE, MangaCategoryTable.TABLE)
.observesTables(MangaTable.TABLE, ChapterTable.TABLE, MangaCategoryTable.TABLE, CategoryTable.TABLE)
.build())
.withGetResolver(LibraryMangaGetResolver.INSTANCE)
.prepare()