Fix clicking cover opening random manga (#7387)

(cherry picked from commit 61a44101a273598ec43168be9fbf00247facef58)
This commit is contained in:
jobobby04 2022-06-26 15:49:52 -04:00 committed by Jobobby04
parent 48a62f7c4a
commit 1084e7fe9d

View File

@ -34,7 +34,7 @@ class HistoryController : ComposeController<HistoryPresenter>(), RootController
nestedScrollInterop = nestedScrollInterop,
presenter = presenter,
onClickCover = { history ->
router.pushController(MangaController(history.id))
router.pushController(MangaController(history.mangaId))
},
onClickResume = { history ->
presenter.getNextChapterForManga(history.mangaId, history.chapterId)