Skip to content

Commit

Permalink
feat: weeb filter in search results
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelonion committed Feb 8, 2024
1 parent a38f1a2 commit 051012b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/ani/dantotsu/media/SearchAdapter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import ani.dantotsu.R
import ani.dantotsu.connections.anilist.Anilist
import ani.dantotsu.databinding.ItemChipBinding
import ani.dantotsu.databinding.ItemSearchHeaderBinding
import ani.dantotsu.openLinkInBrowser
import ani.dantotsu.settings.saving.PrefManager
import ani.dantotsu.settings.saving.PrefName
import com.google.android.material.checkbox.MaterialCheckBox.*
Expand Down Expand Up @@ -105,6 +106,9 @@ class SearchAdapter(private val activity: SearchActivity, private val type: Stri
onList = listOnly
isAdult = adult
}
if (binding.searchBarText.text.toString().equals("hentai", true)) {
openLinkInBrowser("https://www.youtube.com/watch?v=GgJrEOo0QoA")
}
activity.search()
}

Expand Down

0 comments on commit 051012b

Please sign in to comment.