feat: weeb filter in search results
This commit is contained in:
parent
a38f1a2b2b
commit
051012be2d
1 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue