fix manga details prompting to unlock when coming from a link intent

This commit is contained in:
Jays2Kings 2021-09-18 17:00:38 -04:00
parent 32bfa1ddc3
commit 04c35c0070

View file

@ -1173,7 +1173,9 @@ class MangaDetailsController :
}
override fun setFavButtonPopup(popupView: View) {
if (isLocked()) return
if (presenter.isLockedFromSearch) {
return
}
val manga = presenter.manga
if (!manga.favorite) {
popupView.setOnTouchListener(null)