Remove more unused StorIO code

This commit is contained in:
arkon
2022-07-02 13:08:08 -04:00
parent 05085fe57f
commit 2dfbfd0958
16 changed files with 8 additions and 347 deletions
@@ -373,7 +373,7 @@ open class BrowseSourcePresenter(
* @return Array of category ids the manga is in, if none returns default id
*/
fun getMangaCategoryIds(manga: Manga): Array<Long?> {
val categories = db.getCategoriesForManga(manga).executeAsBlocking()
val categories = db.getCategoriesForManga(manga.id!!).executeAsBlocking()
return categories.mapNotNull { it?.id?.toLong() }.toTypedArray()
}