mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-19 13:53:57 +00:00
feat: weeb filter in search results
This commit is contained in:
@@ -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.*
|
||||
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user