apply mature filter to Editor's Choice
This commit is contained in:
parent
1b88f565af
commit
5d210961c1
2 changed files with 24 additions and 2 deletions
|
@ -32,6 +32,7 @@ import io.lbry.browser.ui.BaseFragment;
|
||||||
import io.lbry.browser.utils.Helper;
|
import io.lbry.browser.utils.Helper;
|
||||||
import io.lbry.browser.utils.Lbry;
|
import io.lbry.browser.utils.Lbry;
|
||||||
import io.lbry.browser.utils.LbryAnalytics;
|
import io.lbry.browser.utils.LbryAnalytics;
|
||||||
|
import io.lbry.browser.utils.Predefined;
|
||||||
|
|
||||||
public class EditorsChoiceFragment extends BaseFragment {
|
public class EditorsChoiceFragment extends BaseFragment {
|
||||||
|
|
||||||
|
@ -72,7 +73,7 @@ public class EditorsChoiceFragment extends BaseFragment {
|
||||||
return Lbry.buildClaimSearchOptions(
|
return Lbry.buildClaimSearchOptions(
|
||||||
Claim.TYPE_REPOST,
|
Claim.TYPE_REPOST,
|
||||||
null,
|
null,
|
||||||
null, /*canShowMatureContent ? null : new ArrayList<>(Predefined.MATURE_TAGS),*/
|
canShowMatureContent ? null : new ArrayList<>(Predefined.MATURE_TAGS),
|
||||||
new ArrayList<>(titleChannelIdsMap.values()),
|
new ArrayList<>(titleChannelIdsMap.values()),
|
||||||
null,
|
null,
|
||||||
Arrays.asList(Claim.ORDER_BY_RELEASE_TIME),
|
Arrays.asList(Claim.ORDER_BY_RELEASE_TIME),
|
||||||
|
|
|
@ -493,7 +493,28 @@ public final class Predefined {
|
||||||
"covidcuts",
|
"covidcuts",
|
||||||
"covid-19"
|
"covid-19"
|
||||||
);
|
);
|
||||||
public static final List<String> MATURE_TAGS = Arrays.asList("mature", "nsfw", "porn", "xxx");
|
public static final List<String> MATURE_TAGS = Arrays.asList(
|
||||||
|
"porn",
|
||||||
|
"porno",
|
||||||
|
"nsfw",
|
||||||
|
"mature",
|
||||||
|
"xxx",
|
||||||
|
"sex",
|
||||||
|
"creampie",
|
||||||
|
"blowjob",
|
||||||
|
"handjob",
|
||||||
|
"vagina",
|
||||||
|
"boobs",
|
||||||
|
"big boobs",
|
||||||
|
"big dick",
|
||||||
|
"pussy",
|
||||||
|
"cumshot",
|
||||||
|
"anal",
|
||||||
|
"hard fucking",
|
||||||
|
"ass",
|
||||||
|
"fuck",
|
||||||
|
"hentai"
|
||||||
|
);
|
||||||
public static final List<String> ADJECTIVES = Arrays.asList(
|
public static final List<String> ADJECTIVES = Arrays.asList(
|
||||||
"aback",
|
"aback",
|
||||||
"abaft",
|
"abaft",
|
||||||
|
|
Loading…
Reference in a new issue