This commit is contained in:
gdlbo
2024-02-22 17:06:23 +03:00
parent 4341804732
commit 18c73d4e48
2 changed files with 18 additions and 14 deletions
@@ -53,6 +53,7 @@ public final class AdMarkHolder extends BaseNewsEntryHolder<NewsEntry> {
this.F.setOnClickListener(listener -> voteDialog(ownerId, postId, date, this.F.getContext()));
} else if (NewsFeedFiltersUtils.sponsorFilters(text)) {
disclamer = "SponsorPost: Заблокировано фильтрами";
this.F.setOnClickListener(listener -> AndroidUtils.sendToast("Заблокировано по выражению: " + NewsFeedFiltersUtils.sponsorFiltersBanWord(text)));
} else {
disclamer = m(R.string.sponsored_post_in_group);
}