fix: hide image search for manga
This commit is contained in:
parent
1431027cf3
commit
9b132e9cb6
1 changed files with 3 additions and 0 deletions
|
@ -177,6 +177,9 @@ class SearchAdapter(private val activity: SearchActivity, private val type: Stri
|
|||
popupMenu.show()
|
||||
true
|
||||
}
|
||||
if (activity.result.type != "ANIME") {
|
||||
binding.searchByImage.visibility = View.GONE
|
||||
}
|
||||
binding.searchByImage.setOnClickListener {
|
||||
activity.startActivity(Intent(activity, ImageSearchActivity::class.java))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue