mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-19 13:43:56 +00:00
fix: hide image search for manga
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user