Resume when history item is tapped (#6982)

* Remove resume button

* Rename onClickItem to onClickCover

* Optimize imports

* Rename reference to onClickItem in HistoryController.kt

Co-authored-by: CrepeTF <trungnguyen02@outlookcom>
This commit is contained in:
CrepeTF
2022-04-23 15:58:33 +01:00
committed by GitHub
parent 2d01933c28
commit 070abd79ce
2 changed files with 15 additions and 37 deletions

View File

@@ -33,7 +33,7 @@ class HistoryController : ComposeController<HistoryPresenter>(), RootController
HistoryScreen(
nestedScrollInterop = nestedScrollInterop,
presenter = presenter,
onClickItem = { history ->
onClickCover = { history ->
router.pushController(MangaController(history).withFadeTransaction())
},
onClickResume = { history ->