Fix bottom nav opening if opening manga from updates while in action mode

This commit is contained in:
arkon 2020-05-04 19:08:35 -04:00
parent fcf596d36b
commit 5977fca6b9

View file

@ -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)
} }