Skip to content

Commit

Permalink
fix: hide image search for manga
Browse files Browse the repository at this point in the history
rebelonion committed May 1, 2024
1 parent 1431027 commit 9b132e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/src/main/java/ani/dantotsu/media/SearchAdapter.kt
Original file line number Diff line number Diff line change
@@ -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))
}

0 comments on commit 9b132e9

Please sign in to comment.