mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-10 20:57:24 +01:00
Fix clicking cover opening random manga (#7387)
This commit is contained in:
parent
924dfa19cf
commit
61a44101a2
@ -34,7 +34,7 @@ class HistoryController : ComposeController<HistoryPresenter>(), RootController
|
|||||||
nestedScrollInterop = nestedScrollInterop,
|
nestedScrollInterop = nestedScrollInterop,
|
||||||
presenter = presenter,
|
presenter = presenter,
|
||||||
onClickCover = { history ->
|
onClickCover = { history ->
|
||||||
router.pushController(MangaController(history.id))
|
router.pushController(MangaController(history.mangaId))
|
||||||
},
|
},
|
||||||
onClickResume = { history ->
|
onClickResume = { history ->
|
||||||
presenter.getNextChapterForManga(history.mangaId, history.chapterId)
|
presenter.getNextChapterForManga(history.mangaId, history.chapterId)
|
||||||
|
Loading…
Reference in New Issue
Block a user