From 61a44101a273598ec43168be9fbf00247facef58 Mon Sep 17 00:00:00 2001 From: jobobby04 Date: Sun, 26 Jun 2022 15:49:52 -0400 Subject: [PATCH] Fix clicking cover opening random manga (#7387) --- .../eu/kanade/tachiyomi/ui/recent/history/HistoryController.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/recent/history/HistoryController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/recent/history/HistoryController.kt index 670b743ac..f413b73c8 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/recent/history/HistoryController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/recent/history/HistoryController.kt @@ -34,7 +34,7 @@ class HistoryController : ComposeController(), 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)