Fix bottom nav opening if opening manga from updates while in action mode
This commit is contained in:
parent
fcf596d36b
commit
5977fca6b9
1 changed files with 2 additions and 0 deletions
|
@ -275,6 +275,8 @@ class UpdatesController :
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onCoverClick(position: Int) {
|
override fun onCoverClick(position: Int) {
|
||||||
|
destroyActionModeIfNeeded()
|
||||||
|
|
||||||
val chapterClicked = adapter?.getItem(position) as? UpdatesItem ?: return
|
val chapterClicked = adapter?.getItem(position) as? UpdatesItem ?: return
|
||||||
openManga(chapterClicked)
|
openManga(chapterClicked)
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue